The Tesla anecdote is a poor example. Of course the US government benefits from its loan to Tesla - Tesla is an American company. By virtue of that fact, all benefit created by Tesla in advancing the state of the electric car industry is, vicariously, experienced by the US government and anyone who identifies as American.