Not everyone is getting laid off from Google. Most people are handed their last paycheck and shown the door.
As for "someone has to pay for it", well we already are. We have the highest per capita healthcare spending in the world, also the highest rate of medical-related bankruptcies in the world and lowest life expectancy in the developed world. We are putting 6-12% of our paycheck into social security and will likely never see a payout when we need it. Different industrial sectors are getting hundreds of billions in subsidies. The military is getting trillions.
The money is there, we just need to have the will to spend it to everyone's benefit. But no, we'd rather set it on fire instead so the wrong people don't accidentally get helped.