Computerphile did a wonderful feature worth ten minutes of your time - going into surface level detail of how some AI models put ethics to one side to achieve results.
It's not just AI and it's something humans can do too, but it is a bit unsettling (from both parties, in retrospect).