Artificial intelligence is a collective term for different types of virtual 'intelligence', such as we also find in humans.
Machine learning is a form of artificial intelligence, but it is not the style and type of AI that we see on TV or in movies. It is the process used to create virtual intelligence.
Artificial intelligence is the measure of the intellectual capacity of a computer. But there is no scientific body that determines what technically is artificial intelligence or not; the term is defined by the one who uses it.
The Encyclopedia Britannica defines artificial intelligence as "the ability of a digital computer or computer-controlled robot to perform tasks normally attributed to intelligent beings." In this sense, a computer that can make predictions is artificially intelligent.