When one government bet on solar power failed (Solyndra) the message from the right in the US was, "look what a waste it is for the government to invest in solar technology," instead of taking the appropriate lesson. That lesson was that we weren't spending enough backing solar companies.
China shoveled billions into developing solar manufacturing technologies, and as a result they figure out how to cheaply mass-produce solar cells. Solyndra failed because they couldn't compete against the resulting cheap solar cells.