The UX part is mutually beneficial, so it's at least possible to make an argument that companies doing so are benefitting users more than traditional UX design processes would. I still think it's creating externalities for users and would appreciate informed consent (something along the lines of bringing back proper versions where nobody would ever be forced to upgrade).
Optimizing to the detriment of the user (eg for engagement, conversion, whatever) is straight malevolent and I've yet to run across a moral justification for it apart from market nihilism.