Bitcoin has fucked up multiple times in the past and has recovered just fine. Hard forks have happened intentionally and not, and will very likely continue to happen especially if other Bitcoin implementations start to pop up everywhere. And this is all a feature, not a bug.