The point being made here is that sacrificing the CEO does not solve the problems in the company and is completely unrelated to their pay.
Leaders need be held accountable, not to fix the past, but so that other leaders will make better decisions in the future.
In this case, it is a lesson that if you destroy your engineering culture and sacrifice quality, you will lose your job.