The key difference between the two concepts involve
Goal The goal of AI is to increase the chances of success. Meanwhile, MLs aim is to improve accuracy without caring for success.
Nature- AI is a computer program doing smart work. ML is the way for the computer program to learn from experience.
Future The future goal of AI is to stimulate intelligence for solving highly complex programs. The MLs goal is to keep learning from data to maximize the performance.
Approach AI involves decision-making. ML allows the computer to learn new things from the available information.
Solutions AI looks for optimal solutions. ML looks for the only solution.