I'm in downtown Toronto, and there are plenty of (very quiet) electric cars, all sorts of quiet e-bikes and other electric personal transportation devices (scooters, e-unicycles) and other things (roller blades, bikes, skateboards) where often the only sound is the noise of the wheels on the sidewalk / pavement making a quiet hiss / rumble. I do a lot of walking, and headphone people are often (but not always) quite clueless about these things approaching. Granted, those other people aren't
supposed to be where people are walking, but they regularly are, sadly.
Passing isn't something that is only the responsibility of the passer, that of course is absurd. Most people don't walk on the very edge of a path, but slightly off from the center (or in the shade close to the buildings if hot, or far from the street if puddles and raining, and etc), and you may also be carrying things that make you take up a lot of space.
So, in practice, as a walker, you do in fact have to be aware of people approaching from behind, at least, if you aren't an ass, because it is often kind (or even necessary) to move aside a bit to make passing easier / possible. Earphone people are some of the biggest assholes in these scenarios.
EDIT: But I fully agree that once you get out of the chaos of the downtown core, or likely plenty of other cities, this is probably just not really a meaningful problem / tradeoff.