This is true when the scale we are talking about is similar FB. otherwise self hosting won't be profitable. (We rarely develop applications that need to scales to that level.)
Even at that level, a lot of apps run on top of cloud providers.
PickMe runs on Azure
AirBnB runs on AWS
Instagram used...