I took Andrew Ng's Coursera ML course but I think it's a bit out of date now. I've heard good things about
https://karpathy.ai/zero-to-hero.html to learn AI/ML.
Most tech interviews will have a leetcode component, so I would also take a more advanced algorithms/data structures class like https://www.coursera.org/learn/algorithms-part1
I would also start doing problems on leetcode once you finish the course.