South African leader apologizes for power cuts