replacing/reboring low bridges and tunnels
Maybe some kind of hybrid supply, with batteries or fuel cells to power the set in tunnels and on longer bridges too low to fit an overhead wire; it should be able to coast through shorter tunnels and bridges, although they should be able to deal with getting going from a full stop in those places.