South Africa President Cyril Ramaphosa has accepted the resignation of Nhlanhla Nene as finance minister and appointed former SARB governor Tito Mboweni as the new treasury head.