Maybe; I don't really know the details behind the sale of mineral rights but I DO know that they are never given away for free and that usually they are sold to the highest bidder. Maybe in the case mentioned by GP (Shell) the mineral rights were sold below what the market would have borne.
My heart breaks for the South African masses; and then I talk to them, and every impoverished person I speak to is certain that they would be worse off if they voted differently. Vote another party in power? Never - the party that has failed to govern South Africa effectively since 1994 is still in power!
South Africa's poverty is, at this point, self-inflicted. I have more than a few ideas on how this can be solved, but none of the solutions involve a) Race or b) kickbacks, so you can forget about SA digging itself out of this hole.