Taiwan's Ministry of Foreign Affairs (MOFA) has confirmed that a BBC correspondent working in China has relocated to Taiwan after facing threats.