Since when does "cloud" require an API that's open to the entire world? That's never been part of the definition of cloud services before. And there's no compelling argument for why Apple should try and open up iCloud to people who aren't using Apple devices (which is to say, there's no good argument for why it's in Apple's own interest to do that; obviously there are arguments for why other people might want them to provide that access).
Also, there's no such thing as "FoundationKit". There's a framework Foundation.framework, but most of the iCloud-related APIs live elsewhere.
If I can only get access to this stuff via an API on the device, then it is not really cloud API. It's not like Apple is making these APIs available to developers via something like REST.
The only ones that are available are those that have a strong open standard that Apple can't wall gardenify like IMAP/SMTP, CalDAV and CardDAV.