The depends on how you implement it.
You could also just don't allow to deduct taxes on the work out into digging out the gold.
In the end I do not care. But i feel like people would be equally ignorant if it was proposed to tax the software in other ways (eg VAT on the derived services from operating).
Regardless, these are the discussions to have.