I don't think Apple needs to be socialized to solve this problem, in fact saying that obfuscates a simple and practical solution. It should be illegal for a company to actively prevent you from running code on a device that you own.
We need something like Right to Repair but for software, if I own a phone, I should be able to run whatever I want on it. You shouldn't be able to charge money for the privilege of installing my own software, just like an auto maker can't charge me for the privilege of repairing my own car. Companies will use all sorts of weasel words and scare tactics but at the end of the day it's simply anti-competitive.
This is nice idea, but it falls flat. In this case Apple's advantage, the actual reason consumers prefer Apple's devices, is because they restrict what code can be run on them, in order to provide a safe, trustworthy, optimized user experience. Why do you want to rob Apple (and the market) of this advantage?
We need something like Right to Repair but for software, if I own a phone, I should be able to run whatever I want on it. You shouldn't be able to charge money for the privilege of installing my own software, just like an auto maker can't charge me for the privilege of repairing my own car. Companies will use all sorts of weasel words and scare tactics but at the end of the day it's simply anti-competitive.