President Cyril Ramaphosa said South Africa aims to reach net-zero carbon emissions by 2050 but that will require finance and partnerships