People will say you're burned out, and they're not wrong... but this doesn't address the substance of the issue. To be an engineer or a scientist today means tolerating a lot of the things you've mentioned. I would amend your list to engineers that had a passion for EE and value human life (who doesn't?) but took a job at Raytheon. The things you identify are valid issues. If you're worn so thin you can't ignore them, it has the effect of ruining your entire relationship with the art. The thing to remember is that this is not the fundamental nature of science or engineering, but the nature of practicing these things today under the framework in which we live. From there, maybe you can find places where you can practice your art which are less prone to these issues. You may have to compromise on career stability or pay. People are rarely paid well to do fun, low stress things. Maybe the best thing to do is stay out of tech professionally, and slowly ease back into programming as a hobby by working on small projects. I'm not sure. All I know is that with burnout it's somewhat challenging to untoast toast, but you will recover eventually. It's just always a bit slower than one would hope, but it does happen.
Another angle perhaps is working on clarifying to yourself the ways in which you got hurt, so programming may feel less painful. I found that learning about politics and history-- specifically the history of engineering-- really helped me sort out my feelings. It also gives a sense of clarity of where the rotten parts come from and maybe how to avoid them.
David Graeber's Bullshit jobs might be an alright place to start. I also just enjoy indulging in the history of places like Tektronix in the 1960s by reading oscilloscope repair manuals... learning about Bell Labs, the Rad lab. It's nice to read about healthy engineering cultures to believe such a thing is possible.
This book really makes you appreciate all of the "things" we have today and how much goes into making everything. It is also humbling to me to know that every tool we have no matter how accurate was made with tools that were less accurate. Remember we started from literally rocks.
Does someone have something similar for the history of computers?
To completely stop doing tech professionally, or to ignore everything, to build up thick skin, and say "it's up to other people how my inventions are used."
I'm curious to what you think is the fundamental nature of science and engineering. Is science only intellectual curiosity just for the sake of it?
Another angle perhaps is working on clarifying to yourself the ways in which you got hurt, so programming may feel less painful. I found that learning about politics and history-- specifically the history of engineering-- really helped me sort out my feelings. It also gives a sense of clarity of where the rotten parts come from and maybe how to avoid them.