More money is being invested in alternative energy start-ups here than anywhere else in the world. But the state's dominant position is threatened by Proposition 23 and competition from China.