Eh. It's implausible to me that we're simultaneously both highly paid geniuses and clueless tools.
Fundamentally, I think we need to decide whether we are professionals or minions. Professionals being people who have not just a duty to the paycheck, but also to the profession and society at large. See, for example, the ACM/IEEE code of ethics for software: https://ethics.acm.org/code-of-ethics/software-engineering-c...
If somebody wants to say, "Yup, I'm a minion, just going to build the volcano lair and the atomic rockets, and I'm not going to worry about where they'll come down," I will at least commend them for their honesty. But otherwise, I think we need to act like professionals and take responsibility for being clueful about the impacts of our work. Between the need for software and the rise of remote work, our negotiating power with employers has never been stronger. Let's use it for something beyond foosball tables.