> China has not banned those. Foreign internet companies can operate in China if they obey the same rules that Chinese internet companies have to obey, such as Chinese censorship requirements and requirements to share data with the government.
Those rules, however, are official state secrets, and western companies who wish to operate in China must infer what they are themselves lest they get kicked out. China works on the standard that "there are rules that you must break, we won't tell you what they are, so be very very very careful." Not transparent at all (incidentally, China rejects rule of law as a western imperialist concept).