What caused this is Socialism/ Communism and the legacy of Nelson Mandela.
The labor unions forced the government adaption of Apartheid. White jobs for a white South Africa. We now see the results.