You could argue your point the other way round. When times were good these companies clearly overemployed staff. That is very unfair to investors. Cutting back at this time finally prioritizes investor goals, and it’s pretty minimal anyway.
Not to mention the insane benefits these employees get, these are the best employers in the world. It’s clear employee happiness was much more important during good times than any investor sentiment. Investors just shut up as the business was still growing.