One other issue is that China did not just outright ban Google or Facebook or Twitter.
The Chinese government gave these companies a chance to stay, as long as the complied with the censorship laws.
Google was going to re-enter the Chinese market again with Project Dragonfly, but they backed out due to bad publicity.