As electric car ownership increases, apartments will be incentivized to install ways to charge them. Just like electric cars it’ll start with high end apartments and trickle down. This may also incentivize apartment owners to install solar on their buildings to charge battery banks to save money on electricity.
This is the same problem ICE cars faced when they were rolled out. It isn’t like there was a gas station on every corner when the Model T rolled out. As more and more EVs hit the road, charging availability will increase until we reach a point where chargers are ubiquitous. It may reach the point where every parking space has a charger.
This is a transitional issue that will resolve itself.