https://en.wikipedia.org/wiki/Soft_story_building
Rebuilding these as new modern apartments would make everyone a lot safer in case of an earthquake.
Also, we don't outlaw ways of life based on safety. For example, larger cities are far safer when it comes to fire deaths, than small towns, but we're not about to outlaw communities < 2,500 (see Figure 5):
https://www.nfpa.org/education-and-research/research/nfpa-re...