No one has ever satisfactorily explained to me how the government can "invest" in something.
What's not to get?
For example, in 2009, the U.S. DoE loaned Tesla USD465 million as part of the $8 billion Advanced Technology Vehicles Manufacturing Loan Program.
About the 'largest donors' part, I think that bit's quite overblown by the conservative media. For example, though I'm not sure if Tesla had any Obama connection, it was held up as an constant example of wasteful spending through the 2012 election and until it had its first profitable quarter this year and paid back its loans early.