To be clear, this didn't happen. No one said it did. There was a chance something like this could have happened (the Chernobyl miniseries does a great job of showing this). The issue was that there were large water tanks under the reactor, and that the reactor material would eventually melt into those tanks, superheat the water and cause an enormous steam explosion, further scattering radioactive materials into the atmosphere, and destroying the three other reactors at Chernobyl, scattering their material too.
That said, the idea that a 5MT explosion at Chernobyl would have levelled the city of Kiev is not particularly realistic [0]. (note that the fallout effects from Chernobyl would be much worse than from a nuclear explosion, so given winds, fallout could have made Kiev, or even Moscow, uninhabitable). And in fact, as explained elsewhere, the explosion wouldn't have been 5MT, but much smaller, although that wouldn't have mattered much for the issue of spreading radioactive material.
[0]: https://nuclearsecrecy.com/nukemap/?&kt=5000&lat=51.3906031&...