UK plugs are always grounded because there is no ungrounded version.

But elsewhere you only get grounded plug if you buy extra extension cord for the apple power brick, otherwise it's only ungrounded.