I live in Portland OR where electric cars are fairly popular. People just run an extension cable out to the street and put a cable cover over it on the sidewalk.
And it's not like it's a new issue, I've heard public complaints about lack of solutions to this brought city council for years now. Haven't heard anything about the law being changed at this point.