And what use will gold have if all the computers and electricity in the world disappear? Or fiat in that case? In such a scenario the things with value will be food, shelter, fuel, medicines, weapons, etc. No one will care about any form of money, gold, or bitcoin.
Just the same as it was before computers - gold held value because it has a limited supply and it has valuable physical properties.