They achieve that uptime by using server-clusters. Basically, they have alot of servers, and you update them one by one. So, even if you have to reboot a server, you still have servers up. So the uptime-figure is for the whole server-cluster, not individual servers.
Well, yes there is the "scheduled downtime". But in my book, downtime is downtime, no matter if it's scheduled or not.