Google is a bad comparison here IMO because Google IS a datacenter company. No different than Amazon... They run datacenters and offer IaaS to customers, and piggy back off of that.
The idea to use hosting is much older. Many companies offered services like that even in the 90s with AWS it really scaled up and the quality for hosting then improved across the globe.
SQL and Domain Names was very common even in the 90s. The other concepts hadn't really evolved. Even AWS only had EC2 and S3 in the beginning. I'm just trying to relate and point out that Google decided to self host, rather then depend on someone else - which for a business that exponentialy grows is the best way, even today.
I agree with you on Uber and Facebook though.