Tech firms dealing with China have long had to find ways to please the latter to ensure they have had permission to invest in or sell to China, to enjoy preferential polices afforded foreign investors, or to bid on government contracts.