There are both ML that is not AI, and AI that is not ML.
For example, if you pick them manually, decision trees can be AI but not ML. Video game character behavior is a trivial example.
Eliza for example is also not ML, but could be called AI.
Likewise, there is ML that is not AI. Such is debatable, because you could always argue that using machine-learning on anything results in intelligence. The way I see it, things like image enhancement or voice replacement are not artificial intelligence at all. I probably could not define a hard line where it becomes artificial intelligence though.
I don’t know what the op meant by manually picking but the expert systems of the 80s and case based reasoning systems of the 90s used fairly static decision functions and were explicitly called AI at the time.
for example, mob behavior in Minecraft is often described as AI. It's nothing more than some simple state tracking, task prioritization, pathfinding, etc. and absolutely none of it has been through autodiff.
For example, if you pick them manually, decision trees can be AI but not ML. Video game character behavior is a trivial example.
Eliza for example is also not ML, but could be called AI.
Likewise, there is ML that is not AI. Such is debatable, because you could always argue that using machine-learning on anything results in intelligence. The way I see it, things like image enhancement or voice replacement are not artificial intelligence at all. I probably could not define a hard line where it becomes artificial intelligence though.