More than 25,000 properties are without power in South Australia as a heatwave smothers the state.