It's believed that it would be cheaper for Twitter to have used cloud services (Snapchat spends less then they do on data center operations).
There are certainly examples for big companies that benefit from having their own infrastructure (i.e. Dropbox since they have relatively specialized hardware needs compared to what cloud providers set prices around), but the number of people you need to hire to build and maintain datacenters is very high.