Digging up a pipe and replacing it is actually pretty cheap and easy. Disrupting a main thoroughfare is incredibly expensive in terms of lost productivity, transport, shipping.
Finally, some people may even consider the construction too much of a hassle and use the car less. Empirical studies suggest that "removing" a road does not cause productivity loss overall, since having the road in the first place induces a lot of "non-essential" demand.
now it need not be by roads - a great transit system should enable moreeobtions. However the point is all the things you can do if you choose not a train or road to nowhere.
Roads[0]: Asphalt (18 years), Concrete (25 years) - requires good expansion gaps, good substrate, zero roadwork over its lifetime.
Pipes[1]: HPDE (50-100 years), PVC (50-70 years), Reinforced Concrete (75-100 years) Vitrified Clay Pipes (Several centuries), Galvanised Steel (40-70 years)
[0]: https://www.ayresassociates.com/the-long-and-short-of-it-lif...
[1]: https://trenchlesspedia.com/the-lifespan-of-steel-clay-plast...
A pipe replacement? Sewer mains at least here in Germany tend to be anywhere from 2 to 8 meters below ground. That's a lot of soil to move. Freshwater mains is below freezing depth, so usually around 1-2 meters below ground. And above that is a ton of other wiring... electricity, phone, fiber, cable tv, gas and district heat/cooling just to name a few, so when you want to replace the sewer mains, it involves a lot of companies, plus the city authorities for coordination, permits, traffic re-routing (a bus route is bad enough - a tram line or a legit full size train line is a nightmare).
Outside of immediate emergency work from a burst pipe, replacement works take years to plan.
this needs to be done for all roads constantly sometimes the pipes are still good and you resurface, sometimes they will fail in a few years so may as well dig them up since we have to do the road now.