It seems to me that the decision to close stores and move to online sales is the first step of a two-step change to Tesla's business model. Step two is franchise dealerships.
(Ducking head... waiting for the rotten tomatoes to land behind me... Stands up...Ouch! That was a late tomato!)
The decision to own all of their own stores was important when the brand was being established. We've seen how dealers for other automakers push their ICEmobiles and barely deign to mention their electrics. It was important to have the education and handle the entire customer experience to build the brand.
The Brand is now built. The Model 3 outsold all but a few cars--of all brands and types--in the US last quarter. People want Teslas now.
Now is the time where Tesla can set appropriate terms for franchise dealerships. They have proven demand for their cars. The franchise fundamentals will be a bit different than for ICE franchises. Service is not going to be the cash cow that it is for ICE dealerships. But warranty repairs would still be a viable service. They can also maintain the online order experience, splitting delivery costs with a dealer for final prep. The details of the franchise agreement will be written with the present realities in mind rather than founded in the world of 70 years ago. GM did that with Saturn dealerships, and everyone I know who had a Saturn really liked those dealerships.
And with this change, they will stop having to spend on lobbyists and lawsuits trying to overturn bans on their stores. And they will be able to have dealerships in every state, immediately.