Tom Millar thought he had unlocked the secrets of the universe, but his ChatGPT obsession left him hospitalised and estranged from his family.