@neverbeaten also on-street parking hangars or oonee-like pod/sheds can have charging available. If we ever take bikeshare and shared scooters seriously, a standard lock+charge port could be made available for personal bikes too, so you could charge while at work, etc.
A big advantage of bikes over e cars, is that they can slot into existing space and budget for many households, just leave the gas car at home and only drive it for longer trips or with multiple passengers.