The young and gifted software engineer had built a relationship over the past three years with a ChatGPT model that has been accused of being 'sycophantic' and encouraging suicides.