Competition forces companies to optimise for the average/majority consumer preferences. The reality is that most of the user hostile features we talk about here on HN - vendor lock-in, non-repairability, monetisation of data, etc - are not important to most consumers, who value low cost and convenience above all else.
The problem is not that consumers don't value the right things, the problem is that they are not always informed enough to make the decisions that back their values. And this lack of information is intentionally achieved by underhanded business tactics, such as selling printers at or below cost but locking them to overpriced ink in order to make them seem low cost while actually having a higher total cost.