The dilemma of foreign investment in South Africa