Chile is under a state of emergency as more than a dozen wildfires have scorched nearly 80,000 hectares (123,500 acres) and are threatening to encroach on towns, factories and vineyards.