Technically yes, but I suspect the ransomware comparison was brought up to paint how malicious it is. Otherwise the better analogy would be dropping your phone from 50ft.
Well, no, ransomware is worse than losing all data on the device, since ransomware gangs generally also destroy your backups and also attempt extortion with threats to publish your data. All backups help against accidental destruction and incidents like in this article, but for ransomware protection most cloud storage solutions won't help you, you need either offline or append-only backups.