This smells of whataboutism and whatever the ethics of making addictive software, it's killed far fewer people so far.
But, if we feel clear outrage about another industry, we should consider applying the same standards to our own.
Most everyone who works in opioid marketing probably thinks they are a good person too.
The fallacy in your comment isn't that you're wrong about addictions, it's that you're assuming two population samples are the same: 'HN users who complain about drug addiction' and 'HN users who create addictive technology'. Those are two different values of 'we'. (I worry about being in the latter group. HN is pretty addictive.)
Sitting curled up in a chair for hours straight staring into a phone is killing you a lot quicker than you might think.