AI has to be trained through machine learning, and that is almost always done with a subset of humanity - definitely the case with chatGPT. I guess humanity is a little more ethical than you may believe?