For the typical "elongated black box" notebook charger, a cumulative sum of exactly zero effort was spent on improving it in either form or function. Meanwhile, Apple had MagSafe (which is nothing but function), the extendable prongs to wrap the cable, or the little clip to fix the cable into place. Both Apple and non-Apple adaptors usually have detachable cables, but for the non-Apple variety it's only purpose was to streamline internal processes to provide country-specific plugs, whereas Apple used the opportunity to allow the adaptor to be used with a long cable or a cable-less plug.
Their adaptors are also smaller and lighter, both Watt-for-Watt and even more so considering competitors often choose overpowered adaptors because they happen to be cheap to procure or they already use it and want to keep their inventory simple. And if you search, you'll find that semi-famous deep dive examine the inside of one of their adaptors, and how they are spending at least twice as much on components to safely isolate the high- and low-voltage sides and provide constant quality at any level of power draw.
But yeah, the cable fraying sucks.