The issue I have is with broad strokes generalizations that layoffs indicate a failure of a CEO. They don't necessarily mean that. Any more than shipping a bug to production indicates a failure of an engineer who should now be fired. Similarly, not laying people off is not an indicator of success. Nor is not shipping a bug to production.
The question is not "can we predict the future," but rather "did we do the right things to capture the right data to make the best decision" and if the answer to that question is yes - then any other reasonable person in the same position would likely have made a similar (if not the same) choice, and it's not clear what firing anyone does besides being punitive. Again, same for any employee that makes a mistake. This is not me giving a free pass to CEOs.