A summer of wildfires and heatwaves underlines the threats to the country's economy.