Not a lawyer. Tesla competes with GM, Ford, etc. Tesla is not a local business. Tesla's primary trade is interstate commerce. Court may decide the county is unfairly restricting Tesla and giving an unfair advantage to competitors.
Also, while I've been happily self isolated for two months and plan to continue, I don't believe that many of these restrictions would be upheld if challenged in court.
Why can a Target stay open and sell non-essential merchandise while a competitor that doesn't also sell groceries can't? To be fair, Target and Wal-Mart would need to have ceased selling non-essentials.
But then the government is deciding what is and isn't an essential good...
Which is why I don't think it would/will hold up.
Thankfully, people with the jobs/means to stay home actually staying home has relieved some of the pressure, so restrictions can be lifted without actually causing everyone to rush to the bar or sports event.