If all that money were equally divided between the 1400 faculty members, they'd each get a salary of at most $240k per year, which is really high in the grand scheme of things but kind of low for these specific facebook jobs that we're talking about.
Now consider that much (most?) of that revenue must actually be spent on the 2,500 staff members supporting university operations, building maintenence, etc.
I don't think there is any great mystery to solve here.
Edit: see the replies to this post. It seems the tuition at CMU I'd double what I thought it was. I still don't think the revised numbers are any more mysterious, though.
https://www.cmu.edu/news/stories/archives/2017/january/tuiti...
Still, a mere doubling of the faculty salaries I was describing above is likely still not sufficient to compete with these tech giants when hiring someone like a deep learning expert.