Many tech companies living in fantasy land, having gotten used to free money and strong organic growth essentially guaranteed from secular tailwinds. At a certain scale, and level of competition (more and more social/advertising platforms becoming popular), these companies become more cyclical rather than guaranteed growth bets.
Google is a great company that will surely be worth more down the line, but the whole hire as fast as possible and pay increasingly high comp is going to have to come in line with the new reality.
You can't expand headcount and employment costs faster than your revenue/profit growth and expect it to end well