It's originally a theorem about supervised learning, which turned out to be the prototypical application (via CNNs) of deep learning. Deep learning is now mostly synonymous with AI. Though I'm not aware of any NFL theorem for reinforcement learning or unsupervised learning.
Given that the most well-known use case for optimization algorithms is training machine learning models, it seems to me like a perfectly reasonable, if buzzword-oriented, thing to say.