Gold and silver may sparkle in a jewelry box, but they are also critical materials used to power electronics, automotive technology and medical devices.