The problem isn't that the government is currently actively corrupt (it isn't for the most part,) it's that the more it get's involved in the economy as member rather than a governing body, the more motive individual government members and workers have to be corrupt. We have an active free press and law enforcement agency which catches corruption but that's not a good reason to create conflicts of interest where there shouldn't be.
But what else is there? How is government supposed to create the right conditions for a market solution? The solution was supposed to be carbon credits by making using polluting materials gradually more costly over time and thereby creating the conditions for clean(er) energy to be viable in the market. But that was rejected outright as a "tax."
Government as a member in the market is bad, we can agree there. But outside of direct investment, it gets politically difficult to change anything.
The great thing about government is we can involve media, we can send FOIA, and we can scare politicians into doing the right thing if necessary. If government corruption was as bad as you seem to think, Solyndra would still be getting paid and none of us would know about it.