There is no doubt that both IoT and Machine Learning technologies have great scope and are revolutionizing the way technology benefits are delivered to you.
There are many vendors of IoT platforms such as Amazon, IBM, Microsoft, Oracle, Salesforce, etc. that have integrated Machine Learning capabilities with IoT to deliver new offerings and better operations.
According to Gartner, there will be more than 80 percent of IoT projects using ML components which are only 10 percent today.
If you are interested in IoT, I recommend this IoT Course by Intellipaat.
Also, watch this video on IoT and ML: