Not every technology is invented by a shitty person, but shitty people and institutions are well represented (and possibly disproportionately represented) in the history of technology. Charles Babbage invented the idea of general purpose computers as a way of improving labor control on slave plantations:
https://logicmag.io/supa-dupa-skies/origin-stories-plantations-computers-and-industrial-control/
42/