There’s an interesting incentive cycle here: decades of underinvestment in the power grid[1] have driven wealthier (in turn, primarily whiter) South Africans towards individual power sources, in turn fostering a market for stolen solar panels, etc. A good example of how private power sources (even green ones) exacerbate underinvestment in public utilities (since the people most capable of financing the utilities can opt out of doing so instead).
[1]: https://en.wikipedia.org/wiki/South_African_energy_crisis