A dysfunctional company with bad management is not a crime. Putting a CEO in jail because he is bad, not because any crime had been committed, is an even worse idea.
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.