A court in Johannesburg has sentenced seven Chinese nationals to terms of 20 years in prison each for trafficking people from Malawi and forcing them to work at a factory in South Africa.