South Africa has secured US $122 billion (R2.2 trillion) in Chinese-backed investment to transform its energy sector.