An 'ethical' AI trained on human morals has turned racist