The backstory of how South Africa ditched Taiwan for China