Most people are interested in solving a task, and their device helps them with this. They are uninterested in general-purpose computers. And there's no shortage of them for the rest of us! Android devices are the obvious choice here, with their user-exposed flashable ROMs. (Not just the OS, but every ROM is exposed through fastboot) Or PinePhone. Or whatever Firefox is doing. You've got choices for tinkerers and general-purpose computation, it just doesn't live in a device with an apple logo.
This is disingenuous. Apple is not being called out for failing to create desirable functionality for iPhones. Rather Apple (et al) are being criticized for deliberately acting to purposefully constrain functionality. The first criticism would be asking manufacturers to do work to improve their products. The second criticism is telling them to stop crippling devices they sell.
I am being dogmatic. I can't think objectively about this because I have yet to see how it benefits society to absolutely remove the rights of owners to legally do what they please with their property (at least in terms of chattels).