39,000 people have been evacuated and military aircraft deployed as wildfires spread across British Columbia.