It is difficult to say Machine Learning is better than Data Science because better is a subjective word. Here I have compared ML engineers and data scientists based on job availability and their salary range.
Based on salary submissions of employees, ML engineer's salary ranges from 5 lakhs INR per annum to 15 lakhs INR per annum in India with an average of 8 lakhs INR per annum salary. Data Scientists' salary ranges from 4 lakhs INR per annum to 12 lakhs INR per annum with an average of 6 lakhs INR per annum.
If you consider the availability of jobs, there has been 0.01 of total job postings for ML engineers and 0.15 for data scientists jobs.
If your aim is to get good pay then ML is better and if your aim is to get a job with less risk then data science is better.
Machine Learning is a subset of Data Science and even machine learning is applied in every possible area that's why people are also eager to have Machine Learning certification!
You can check out this video on the differences between data science and machine learning for more information:
One can become a professional Data Scientist by enrolling in Intellipaat Data Scientist Course.