I think the screw up in the developments of #AI comes down to teaching them to understand motivation without ever trying to teach them morals or consequence.
Basically, the same error we find in the concept of incorporation, for allowing profit motivation, while removing morals and consequence.