And self-hosted can put the files in Apple's iCloud service, making it accessible on your phone. At least, that's how my own is still working.
I ask because I use iCloud heavily. Nearly 1TB of photos/videos and now use 1Password with iCloud sync.
Has Apple made mistakes when designing iCloud, allowing unauthorized access to accounts? Yes.