Iranian operatives used ChatGPT to prepare articles critical of the US war against Iran and generate social media comments.