A lot of the medium-voltage stuff is already underground in some areas. All new 50kV-150kV stuff has been going underground for decades, and the stuff remaining above-ground just hasn't reached its replacement age yet. Despite its drawbacks, above-ground is unpopular enough that burying them is worth it.
However, the high-voltage stuff (220kV & 380kV) is still almost entirely above-ground. Those cables are extremely difficult to construct, and anything beyond a dozen miles or so simply isn't technically possible yet.
https://hackaday.com/2021/10/05/repairing-underground-power-...
So for earthquake prone areas, you will find above ground power pylons everywhere simply because that is safer and cheaper than the alternative.
Where disasters are unlikely, they tend to be underground.