Those two examples are not opposite. They're both examples of governments crippling freedom.
The main reason that governments forcing USB-C is widely seen as good is because it limits the freedom of big corporations, which don't elicit much sympathy, but the principle is the same.
The main reason that governments forcing USB-C is widely seen as good is because it limits the freedom of big corporations, which don't elicit much sympathy, but the principle is the same.