Gasoline pumps standardized because a nozzle is relatively simple. And then use a smaller nozzle for cars that only take unleaded gasoline and you can't put leaded gas into the wrong car.
On the other hand, diesel nozzles didn't really standardize until the last 10 years or so. Mostly diesel stations used the old (larger) standard, unless it was catering to trucks and then it's a really big nozzle for bigger flow. But sometimes you'd get an unleaded gasoline style nozzle, cause those would fit in diesel cars too, and there's no fume recovery system. But then VW and other diesel car makers started putting in rube goldberg systems to try to reduce the amount of gasoline you can put in a diesel car... And then the diesel pumps with the smaller size nozzle became difficult to use, so they've probably been replaced.
OTOH, a funnel is an easy, low tech fix to a nozzle problem. Can't really adapt a charging socket so easily.