The Role Of AI In Human-Robot Collaboration