Anti-immigration violence in South Africa has forced foreign migrants to flee their homes.