The rapid rise of artificial intelligence (AI) has inserted a new character into people's lives: the chatbot.