Fire threat brings power cuts to thousands in California