While Lightning may be a good piece of technology, I think Apple is largely to blame for its demise. Standardization is good for consumers. Apple had control over its fate. I don’t blame them for wanting to collect royalties, but they were the only major manufacturer on the market not playing ball with a standardized port. Yet even their other products use USB-C, and the MacBook was actually an early adopter.
Accordingly, I don’t think this law eliminates competition. It brings simplification to consumers for a simple, boring port that can now be shared with many of their other goods and a single cable.