Virat Kohli scored a record-equalling 49th ODI hundred as India thrashed South Africa to make it eight wins from eight at the Cricket World Cup.