California firefighters are battling wind-whipped wildfires that have torn across the Los Angeles area, destroying homes as tens of thousands flee.