They create products, which they offer for sale. People can freely choose to purchase those products or not.
Apple has opinions about how to make products, which are embodied in the products they offer for sale. Other companies have different opinions. This is how a market is supposed to work.
I don’t think we should talk about Apple as if they are a government taking away freedoms. It confers too much authority upon Apple and too much victimhood upon customers.
We shouldn't be talking about Apple like a government, but the government should probably be regulating this a bit better;
They patently did contribute to the erosion of freedoms that people fundamentally used to have with their hardware.