Officials say the most destructive wildfires ever to hit South Korea are almost contained