Go lookup CANDU reactors, we have designs already that can’t steam explode themselves and instead will fail safe. Also just to be clear nuclear reactors don’t perform a nuclear explosion if they fail, the Chernobyl explosion was a steam explosion that threw nuclear material into the air.