California gambled nearly half a billion dollars on green energy, and the investment lost more than two-thirds of its value.