Continually AI is used to justify layoffs that seem like simple corrections to overhiring.
Boards don't see the over-hiring as a mistake. On the contrary, had CEOs not moved to grow their companies relentlessy and pursue profits in the years during/after COVID when tech was booming, their boards would have fired them. Now that times are leaner, they need to rein in spending to maintain profits -- if they dont do that, then they'll be fired.
I was at a smaller public company that overhired during COVID then struggled with profits (among other things). CEO and leadership lost a ton of money due to the share price drops from COVID peaks and CEO was ultimately pushed out.