The scenario you just described, though, is technically correct is my point (edit: whereas you seem to be saying it isn't technically correct; it's also colloquially correct). Referring to "machine learning" as "AI" is correct in the same way referring to "a rectangle" as "a quadrilateral" is correct.
EDIT: I think some people are interpreting my comment as "b-but it's technically correct, the best kind of correct!" pedantry. My point is that the comment I'm responding to seems to think they got it technically incorrect, but they didn't. Not only is it "technically correct", but it's completely, unambiguously correct in every way. They're the ones who said "If you’re expecting “technically correct” from them, you’ll be doomed to disappointment.", so I pointed out that I'm not doomed to disappointment because they literally are correct colloquially and correct technically. Please see my comment below where I talk about why what they said about distinguishing AI from machine learning makes literally zero sense.