South Africa's ANC has recorded its worst-ever showing in local elections since Nelson Mandela led the country out of apartheid…