South Africa moved closer to a place in the 2019 Rugby World Cup quarter-finals after they thrashed Italy 49-3 in Pool B.