California’s bet on green energy is paying off, with clean technology companies creating more jobs and investing more money than competitors in any other state.