Hello,
For this era, It's okay if you study any domain of other field or branch. Being a electrical engineering student you can read AI and ML for sure provided you are interested in it and want to work in this field and make a career. If you just want to know then better to give your some time to AI and other time to your core subjects.
AI is a trending topic in technical field and it is evoluting every second. ML is a sub part of AI. AI consists of many subparts that you can't think of. It's very huge and tough yet interesting.
In simple way if you are interested in this field to work then you are most welcome and your interest and will power will make new inventions. So decide yourself what you want to do.
For the part programming language, you have to learn and become expertise in python,R. At most places there are many tools and packages and you have to learn how to use it.
Hope it helps!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile