The specific case here about criminally negligent software design errors almost certainly never came up to the CEO. If there is evidence otherwise and the CEO was aware of the problem and decided that the risks were acceptable then he obviously should go to jail. This was not the case here as far as I am aware.
Knowing of the issue is the important thing here. If you want another case you can look at the Diesel Gate Scandal at VW, it is German law, but the single most important question is always "who knew", because if the person did not know and had no reason to want to know he HAS to be innocent, regardless whether it is the CEO or anyone else.
He or she is responsible for the culture and governing within the company. So either way they are involved either by knowing and ignoring or by setting the precedent for this to go ahead without their knowledge. The punishment for those might differ but it's not a free pass.
It’s the CEO’s job to make sure these things “come up” to him. If he didn’t know about an engineering problem that got people killed then he is negligent and still should go to prison.
I don’t get all this simping for CEOs. CEOs don’t need us to defend them on HN. Trust me, they are doing fine without passioned arguments in support of them.
Why does the cost of investigation have to be paid by society?