A datacenter to house 5,000 servers can be built for <$5m. God knows who they're using for infrastructure. Basically it seems like Facebook are outsourcing every aspect of their application; unlike Google, who developed a lot of their own infrastructure on which they're built.
Not sure if i'd trust a DC built for that amount.
The one i work in cost £23 million, and its not going to have more than 1k servers in even when its full. The project i'm working on has spent £4 million in addition to that, and its only putting around 20 servers in.
To be sure, its built to a totally different standard than what you need to host the inane ramblings of the yoof, but still.