I certainly hope closing the majority of the stores and galleries isn't Tesla's way of washing its hands of the legal issues, because Service Centers remain a sore point. I don't know about other states, but Michigan doesn't forbid only stores, but also Service Centers.
Can someone explain to me how online orders makes sale in all 50 states legal? The buyer would still need to register and take delivery of a new vehicle in their own state, no? That isn't counted as a sale?
While I can't speak for all 50 states, I can tell you how it works in Michigan, one of the worst offenders on the anti-Tesla legislation front. Here, if you order a Tesla, it's "delivered" in Ohio, loaded onto a third-party transport truck, and turned over to you at your home (or wherever you arrange) in Michigan. It's delivered with Ohio temp tabs and the paperwork necessary to register it in Michigan. When you register it, the Michigan Secretary of State collects the sales tax (which is a pisser since they get to have their cake and eat it too). It's actually pretty convenient.
By the way, Tesla does have physical presence in Michigan. They have (had?) a small gallery in (I think) Farmington Hills, and they own a tool & die or something like that in western Michigan.