I think that's the thing.
Most cars these days will develop faults during their lifetimes that make them uneconomical to repair before the actual engine wears out.
Almost all modern engines are mechanically tough in the basic sense (bores, pistons, valves, crank, bearings etc), it's the ancillaries and additional parts that cost money.
A diesel engine might well last longer, but diesel injectors, fuel pump, turbos, glow plugs etc can all cost a considerable amount to replace, and once a car reaches a certain value these items could make repairs unecomomical.
The data for what mileages certain cars have reached will be skewed anyway I reckon. If you're looking for a vehicle to do mega-miles in, chances are that you'll buy a diesel because of the economy. But in reality, a petrol engine that is properly looked after will go on for a long time too
Have seen loads of petrol engine cars with 200-300k+ that have had no mechanical engine repairs, likewise we've seen loads of diesels with general faults that cost £££s or even ££££s to repair at all sorts of mileages.
I think a better way to look at it would be the overall running costs over a vehicle's lifetime
Will