These laws are silly. Just like how it would be silly to make laws to stop Apple from selling products directly to customers and only go through stores like Best Buy.
Most likely it depends on how you define Apple, My suspicion is the store are a wholly owned subsidiary corporation, and manufacturing is a owned subsidiary corporation as well, so legally they are two separate entities, what would stop Apple Stores, would stop Best Buy as well. It would be like telling Ford they can't sell cars in Michigan because I own stock in both Ford and GM!
Additionally it would be stupid for Tesla not to incorporate any stores in the states they are in because foreign corporations are at an disadvantage legally, it would be trivial for Tesla to draw up the legal agreements Michigan requires for franchised dealer, but Tesla doesn't want to be a franchised dealer, they only want to sell cars and the two aren't the same thing.