What's actually the difference between "artificial intelligence" and "machine learning"?
To put it simply, artificial intelligence is the comprehensive term for "software that can solve problems"; machine learning is a part of artificial intelligence. Machine learning, on the other hand, refers to "algorithms that are trained using data".
99 percent of the AI technologies that have economic relevance today (early 2020) and are used in practice are based on machine learning, i.e. algorithms that use pattern recognition.