Start-up came under fire from Beijing for abandoning the country as Washington scrutinised its Silicon Valley backer