The first unplanned blackouts have struck as Australia's east coast is swamped by a heatwave.