If you take the store of value element away from either, it will have a serious impact, except Bitcoin would be worthless and gold can still be used in the tangible world, as I said, to make jewelry, Donald Trump's condo, provide conductive elements inside electronic devices and can still act as a medium of exchange. All Bitcoin has is it's ability to store value. Without that, it's nothing.
Why would you want to make jewellry out of gold if gold were worthless? People make gold jewellry so they can wear their wealth. To show off how rich they are. "Look at me, I have a massive gold necklace!"
If gold had a value of zero and nobody wanted it, you might as well make a ring out of plastic instead. What's the difference?
Using gold as a conductive element or a base metal for designing anything, will always have some value. And its rarity will remain more valuable, than the next more common elements. Thus it's impossible for gold to have zero value or all other more common elements, would have to have a negative value.
Truth is, gold won't be of near zero value unless someone mines an asteroid and floods the market, making it as common as beach sand. This has been true for thousands of years. So speaking on something that is not based in either today's or histories reality, is really pointless.