Right now, when a company lays people off, the town, state, and federal government are the ones who have to end up picking up the downstream effects of that in the macro sense. And local businesses, families, loved ones have to pick them up in the micro sense. This trade doesn't actually make sense if you think about it, a company _should not_ be able to cause that level of a disruption, without a penalty to itself.
This is why I actually don't mind some specifics of European companies, where firing people is _genuinely really hard_. This also means that when hiring, you simply have to plan better. It is okay to expect a large company to "plan better" than an individual with a single income stream. It is okay to push the burden of the pain of bad markets onto companies, rather than individuals.