The anime made it clearer that both Kaido and Big Mom are not going to die from this magma. However, do you remember what lies waiting underneath Wano? My guess is that Kaido and Big Mom will take over Pluton, and the moment Wano's borders are down, they'll have some sort of world conquering agenda again.