It’s important to note some exceptions, not all AI pioneers fell into this trap.
Some, like Seymour Papert went to do a lot of good (creator of Logo, Mindstorms and a principal of One Laptop Per Child).
https://forward.com/culture/346666/remembering-seymour-papert-revolutionary-socialist-and-father-of-ai/