Factor in the interest USA would have saved by paying down the national debt instead. Additionally, consider what private investors would have returned with the same investment and what they would have paid in tax on personal income if they had never been taxed that $17.2b instead.
They won on this one, we can point at the various Solyndras the USA has bet on and lost while we are at it. This ignores the fact that we don't mail taxes in for government to act like a massive VC. We send the cash in so they can fix the 'crumbling roads and bridges', service debt and help the poor we are always hearing about.