Courts set to grapple with 'defamation by AI chatbots'