This is just semantics. What you're referring to as AI is often given the name AGI (Artificial General Intelligence), while many (most?) would agree that AI includes nowadays common technologies such as maps pathfinding and grammar checking.
I've been doing machine learning for almost 10 years now and can tell you from experience that when a layman hears AI they think AGI, a magic pixie dust that can solve any problem that they throw it at.
AI is a branch of computer science, but outside of A* search it's practically all machine learning.