Amazon in talks to invest 10bn in developer of ChatGPT