Tesla never had dealerships, but GM and all the others did. These laws do exist, as you say, to prevent the manufacturer from cutting out the dealer after benefiting from the service the dealer provides to its customers, but Tesla never had any dealerships they could unfairly circumvent.