Millions of Australians will be hit by a blistering heatwave that is sweeping across southeastern parts of the country as firefighters battle to contain large blazes.