I had a co-worker who had a similar horror story. Drove out into the Alaska outback in a modern truck (<3 years old), there was some issue with the emissions reduction system (DEF heater failed), the vehicle went into "limp" mode after 50 miles (40 MpH speed limited) and displayed a warning it would limit them to 20 MpH after another 50 miles.
There literally wasn't any dealer or provider that could do anything before it hit 20 MpH limit, and the truck wound up being flatbed-ed (luckily the manufacturer picked up the bill, but still).
This definitely makes diesel vehicles less reliable, more expensive to maintain, and likely reduces their lifespan. If I purchased a truck I'd go gas.