Wildfires have spread in California, where thousands of residents have been ordered to evacuate as homes burned.