The ground connection, where available, occurs through the metal stud which the duckhead slides into. Correct me if I'm wrong, but even the UK (Type G) duckhead doesn't connect ground even though the physical ground pin is mandatory.
I know that most DC adapters are unearthed, but my lived experience is that you can often feel electrovibration in the aluminium Macbook chassis when ungrounded and it goes away when the Apple DC adapter is grounded.
It's also weird to me, since they have exposed metal and a transformer winding shorting could lead to passing through line voltage to the usb port/your phone chassis. So how does it count as double insulated?
[1] https://www.amazon.com/Replacement-Adapter-Duckhead-Universa...
The extension cable is the only one that's grounded.
The first time I noticed it I was a bit worried about it all. I had a volt stick from work (a safety device to identify live wiring) and surprisingly it illuminated when I brought it near the metal chassis of my macbook. Some further tests with an oscilloscope showed that it was floating a good couple of hundred volts, but the capacitance was so low that the energy payload was never going to do any harm to a human. I don't care, I still just ground the thing.