Our "intelligence" is vastly overrated compared to our self-maintenance and repair
Especially when this "intelligence" is not even a proven mandatory requirement for survival
Start with machine-based self-maintenance on the order of the human body
When you have reached that pointed , THEN you are able to establish some real machine-based learning via trial-and-error
And then again , how do you program for self-modification ?
Robot-Sex , Male competition , Hypnotizing Females