Makes no sense. ChatGPT is just a tool - might as well add all softwares and tools used in the research as a co-author. Just a ref in the methods section should be enough IMO. I wonder what was the intellectual contribution of the authors listed after ChatGPT on that paper. :/