Onedrive is not a core windows component. It’s not a dependency of other applications. It’s just a Dropbox replacement.
Windows works, and has always worked, just fine without onedrive. Microsoft just doesn’t want you to know that, because they are obsessed with the idea of upselling you on subscription based cloud services.