I believe this is generally done more at the state level (consumer protection), rather than city when it comes to "banning Tesla". It's not actually a ban against Tesla specifically though, although some might be. As I understand it, this generally goes way back to when dealerships were worried about an actual car company, such as Ford, opening their OWN dealerships, and selling them at a price that the other car dealerships couldn't afford, which would be easy to do if you're both the supplier and retailer. Given how the deck is massively stacked against them, it's quite a testiment to their products that they are doing as well as they are. https://www.engadget.com/2014/07/17/tesla-motors-us-sales/