Definitely it can perform better than humans but in some specific areas. It cannot completely occupy the position of humans because human beings are unique creatures. We are creating machines to reduce our tasks and effort and not to rule us. So, AI will never be a threat to humanity.
A career in Artificial Intelligence is very bright.
If you are a beginner in AI then go through this Artificial Intelligence Tutorial for more information.
Also, if you want to learn AI from scratch you must go through this tutorial:
For getting a job as an AI engineer you should be a professional in AI and you need to have a certificate for proving it, so, you should go for Online AI Course to make your career rise to the next level.