You may not see one as a subset of the other but there is no shortage of nested diagrams like [1], showing machine learning as a sub-field of artificial intelligence.
Further, the canonical Russell and Norvig AI textbook [2] only mentions machine learning briefly, as one of several skills that a computer would need in order to pass the Turing Test:
> machine learning to adapt to new circumstances and to draw new conclusions
And the Wikipedia page (which also contains a similar nested diagram) describes ML as a “part of” artificial intelligence.
So it is pretty clear to me that ML is treated as a sub-field of AI. However I still believe the AI field dances around the definition of Intelligence, preferring a practical task-oriented definition instead.
Further, the canonical Russell and Norvig AI textbook [2] only mentions machine learning briefly, as one of several skills that a computer would need in order to pass the Turing Test:
> machine learning to adapt to new circumstances and to draw new conclusions
And the Wikipedia page (which also contains a similar nested diagram) describes ML as a “part of” artificial intelligence.
So it is pretty clear to me that ML is treated as a sub-field of AI. However I still believe the AI field dances around the definition of Intelligence, preferring a practical task-oriented definition instead.
[1] https://www.edureka.co/blog/ai-vs-machine-learning-vs-deep-l...
[2] https://www.amazon.com/Artificial-Intelligence-Approach-Stua...
[3] https://en.wikipedia.org/wiki/Machine_learning