It is not necessary to learn Machine Learning first to learn Artificial Intelligence. If you are interested in Machine Learning, you can directly start with ML. If you are interested in implementing Computer vision and Natural Language Processing applications, you can directly start with AI. ML is not a pre-requisite for AI or vice-versa. The only requirements before starting either ML or AI are programming skills, statistics, and linear algebra.