South Korea's military is aiding firefighting efforts as deadly wildfires double in size, killing at least 27 and destroying historic sites.