But there are high end applications where companies are willing to take that hit. OpenVMS is used in some nuclear power plants. When you have data coming in from tens or hundreds of thousands of sensors, and processing that data is vital to keep things from exploding, you want something that can process it all in real time and never crash.
BASF's STOP is another example of a very specific purpose operating system geared entirely around security.