If people want to charge their electric cars and live in a place where it's difficult to do so, that is their problem.
Most places with super dense housing like you describe are probably in fairly dense urban areas where other forms of transportation are probably better regardless.