It would all be undergrounded and made resilient, if it weren't for perverse incentives.

This is a tradeoff. There is value in being able to do upgrades to lines above ground. Underground is not automatically better. Like most things, it depends.