One point to clear up, China did not ban Google. Google left China because they refused to comply with Chinese data sovereignty laws.
Google even tried to crawl back with a search engine that did comply with Chinese laws put activist employees forced them to stop.
Both Microsoft and Apple fully comply with Chinese laws and are doing really well there.