McDonald’s said the moment served as “an important learning” as it explored “the effective use of AI”.