let's say we're 20 years in the future and the world has adopted bitcoin as a global currency. We develop very sophisticated processing technology, and a bunch of nerds hack all the secret keys of the bitcoin network. That is a bad future.
If sha256 was hacked, then we update to sha512.
If SHA256 was hacked, Bitcooin would be the least of your worries.