China censored Xiaoice after the bot generated criticisms of the Chinese Communist Party.