Perhaps landing into a tank of non-corrosive liquid would prevent such collapses? Or on some kind of "glue"/alloy that quickly freezes.
You can also have spearguns firing cords from the top of the rocket to the ground after landing, to hold it.
You can also have spearguns firing cords from the top of the rocket to the ground after landing, to hold it.
A working vertical landing mode that can also be used on Mars, Moon and other objects in the solar system is one of the major mission at SpaceX. Shipping a giant vat of non-corrosive/conductive liquid to another planet does not appear viable.