You've forgotten that all regulations carry a cost, and that cost is ultimately paid for not by corporations, but by their customers. Take this phone battery idiocy. Apple has to pay a lawyer to read the regulation, interpret it, and advise the firm how to comply ... and with all the "reinterpretation" the EU does on their own regulations, that can be a long, expensive process. Then engineers need to redesign the case to allow opening (adding extra parts such as screws), add clips and a connector to allow battery replacement. Oh, and add in the higher failure rate if the now non-permanently sealed case fails in a wet environment, or the now non-permanently mounted battery breaks loose when the phone is dropped a couple feet.
I've had 2 to 4 cell phones active continuously since the 1990s, and never had to replace a battery once. Not ever. Yet now I'm paying for this feature. I don't know if it's an extra 5 cents or an extra $50 per phone, and -- here's the crucial point -- once it's mandated by law, we will never, ever know. Before the law existing, some firms did indeed make phones with replaceable batteries and, thanks to that free-market approach, we knew exactly what we were paying for that feature. Government regulation didn't increase our choices -- it removed them.