Firefighters and army helicopters are battling a fire that has burned through a neighborhood in southwestern Japan and forced more than 170 people to evacuate.