If a company decides to solder tiny surface mount components onto a board and put the device together with glue, that’s fine. Consumers can find a technician with a putty knife and micro soldering station. If the math works out and the business makes sense, the repair technician makes a profit and the consumer has more options.
If the company makes an exclusive agreement with a parts vendor to only sell to them, that’s anti-competitive. The consumer is forced to get repair services from the company. Right to repair says these agreements should be illegal, 3rd parties should be able to buy components. That’s not regulation that replaces consumer choice with state choice.
Certainly there are issues with device serialization, a vendor can make a device brick it’s self if you try to replace a component. There may be security reasons to do this, but in a lot of cases (like one wheel) it is meant to prevent the consumer from maintaining their device. Requiring documentation, schematics, and update procedures would disincentivize companies from making anti-consumer design choices.