Amazon is ‘investing heavily’ in the technology behind ChatGPT