Both serve the same purpose of keeping and sharing the data in a collaborative ecosystem and both are rather to be considered as complementary than a substitute.
It can be counted by a few as both these Microsoft OneDrive and Sharepoint are just similar offering services and doing the same work. Still, with even little different solutions these can give a major different output. Both have specific features which make them different from each other.
Visit this link for more info-