because we had thought about all likely scenarios in our comfortable offices.
Or because they had real world experience with another bot in a similar situation:
"In China, our XiaoIce chatbot is being used by some 40 million people, delighting with its stories and conversations."