South Africa’s President Cyril Ramaphosa said on Thursday at least 10 people have been killed, two of them foreigners, in a wave of riots and attacks.