Protests against corruption and a regional leader have turned into riots and looting, prompting Cyril Ramaphosa to cut short his trip to the UK and return to South Africa.