The strongest earthquakes in California in 20 years caused power outages, sparked fires and created uncertainty in businesses and homes across the state.