I know this because my aunt, a respected physicist, sat on such a board. They're not throwing shit at the wall to see if it sticks; they know what they're doing, and they're not picking winners and losers, they're playing the same game every investor plays: trying to decide who is going to win or lose before it happens. Tesla got the loan because they won it. Which is fair to the same degree as any other investment process. Unless, that is, you have some additional knowledge of corruption in the review process.
Solyndra should have proven that the government cannot "pick winners and losers" even if it wants to -- as long as the government isn't the primary player in the market, which is unfair, but also isn't what happened with Tesla.
Or GM, for that matter.
As for dealerships, the reason Tesla doesn't have to go through them is because they don't have any preexisting agreements with the dealerships, in the same way that, for example, someone who agreed to take out a student loan has to pay that back, but someone who didn't go to college, or went to a cheaper school, doesn't have to. There's nothing unfair about that either. Sure, dealerships are a pain: let's drive them all out of business, please. I'll be first on board.