As artificial intelligence chatbots like ChatGPT have grown in popularity, some are turning to them for therapeutic purposes.