Earlier quoted context omitted.
It's what fuses and diodes are used for. You know how when you write a program you never trust user-input? This should be the same thing, but physically. A well-designed USB port wouldn't fry the computer like it did.
There is a limit on how much user malice should be tolerated vs the cost (additional components used, larger devices etc etc) to implement all of that. Especially as someone can always just rip the device open and circumvent all that causing breakage. How many stops there should be versus malicious usage? USB devices can handle things like the ground and voltage being shorted, as that can happen in normal use through…
It's 5A, they could install a polyfuse, or they could monitor the current and turn it off with a transistor.