Some of the CE and IEC stuff is kind of wanking it, but for the most part, I would assert it is very much in the common interest: qualified devices perform better and more reliably (i.e., passes susceptibility, ESD), are safer to operate and use (that two-prong cords are still legal in the US is perplexing, but perhaps the CE is only concerned about 240V, whereas 120V is not very dangerous), and are less disruptive of communications systems (emissions).
The tests are generally no-nonsense, purposeful, not easy to "game", and both reasonable to achieve (it doesn't take a stupendous amount of filtering and protection to pass EMC) and beneficial to attain (susceptibility is equivalent to standing near a commercial radio tower, or waving a hand-held transmitter nearby, while emissions are near enough to atmospheric noise that e.g. you can comfortably use a shortwave radio, attached to borderline-CE-compliant hardware).
Of course as you get into the stricter mil standards, you'll find more barriers. Tighter emissions, infosec if applicable (radios can't radiate intelligible or decodable secrets..), bigger transients (up to nuclear EMP?), plus general handling like being thrown into a car, air-dropped, shot out of a cannon*, etc...
*Proximity fuzes, invented during WWII, used vacuum tubes. Yes, metal and mica inside glass tubes, made to withstand 40,000 G of acceleration and rotation!
Quite possibly, the assembled suite of automotive standards is the largest for any single product. (I don't have a reference for that, I'm completely guessing.) Everything from crash safety to environmental to EMC. And the EMC has to be done a decade above and below anything used inside... so, everything from DC fields to 20GHz+ has to be bombarded at the thing, from all angles. There are innumerable sub-standards for internal components: EMC of the internal wiring system, cabin and engine bay environments, shock and vibe...
Tim