Microsoft deletes racist and sexist social media messages posted by its AI chatbot. The program learned hate speech from online users.