An emergency military unit has intervened to help stop wildfires as local firefighters could no longer cope.