An AI robot can be built easily only after some context is understood. If an AI robot is the solution to a problem, then the problem has to be well understood to know that an AI robot is more effective at that task than a human counterpart. If the robot is being built to have the capability to interact with people, then a camera will be integrated into the robot, and using tools like OpenCV, Scikit-learn, and more will help in performing operations like face recognition and objects recognitions. A variety of sensors can be used if the robot has to physically move around. This is done as the robot will require a sense of the environment around it to assess and gauge the next move it has to do. Speech recognition is key if the robot has to verbally communicate with the people around it as well.
If you are looking for an online course to learn Artificial Intelligence, check out this Artificial Intelligence Course by Intellipaat.