The infrastructure rises to meet the need. Any home can have a charger installed for ~$700 and this is often part of the EV purchase package. Apartments will be putting in plugs in the parking area to attract EV owners. Offices and other workplaces can put chargers in the parking lots easily. It does not take significant investment to add chargers to an existing parking lot. And there are tons of companies doing this now (ChargePoint, blink, evgo, etc).
There is a lot less infrastructure involved in EVs than in gas stations, because parking lots and electricity already exist. It's just a matter of repurposing.
In cities with street parking, fewer people own cars anyways and that number is decreasing every year. Once robotaxis come (and they will), many in cities will forego owning a car entirely.
The aspect that many seem to not realize is this:
1. gas stations operate thin margins
2. a sudden drop of 10-20% of demand per year will cause many to go under or consolidate
3. A decrease in gas stations makes it harder for people to get gas
4. When it harder to get gas, people will prefer using electricity from their home
This is why I think the change will happen sooner and more drastically than we expect. By the end of the decade at least, but even sooner is possible (2027/2028).