We already have the technology to send people to Mars. We sent people on round trips to the moon 50 years ago, so a one way ticket to Mars now isn't really that hard. What we don't have is cost effective technology to send enough people and equipment for a permanent colony there. But at this point it's really just working on getting cost down (which Musk has done beautifully so far), we have a pretty good idea of how we'll get there.
On the other hand we just do not have the technology for a full humanoid robot, neither now nor the near future. An AI that can do mundane tasks like ironing and folding clothes is way beyond our grasp, and then there are the issue of limbs and power too.