Israeli police arrested a man after the artificial intelligence chatbot ChatGPT revealed he planned to kill his wife.