President Obama speaks on energy in Fremont, Calif.