The hardware and software industry has about a million standards that were collectively designed and adopted by the industry. Every single IETF RFC governing the internet and W3C RFCs governing browser standards for starters - we wouldn't be on this website having this conversation without those.
It's completely reasonable to say "multiple competing standards harms consumers with no benefit, come up with a common standard". This is what governments are supposed to do! If there is a single manufacturer not adhering to the standard it is reasonable to tell that manufacturer to comply. Is any reasonable person unhappy that we're all using common chargers for phones now?
Nor did this charger regulation seem to have negative consequences. Apple proactively licensed their wireless charging standard tech to the whole industry to get ahead of any legislation. Might not be great for Apple's profits, but I prefer that as a consumer.