He made a chatbot of his dying mother so he never has to let go