Gold is a commonly used material in electronics. There's not a whole lot of gold, but I would say that a typical computer has a few dollars worth of gold between all of the components.
There are computer recycling companies out there that takes old / un-used computer equipment and grind them up to extract various recycleable materials, not just gold. That inlcudes plastics and copper amongst other materials. They also make money on components that still work and can be re-sold.
Seriously, there's an article on the main page of this site talking about recoving the gold out of old motherboards. It's clearly stated where you might find gold... basically it's just gold plating on the pins/pads
Check out that article on Tom's Hardware, Gold in Mainboards its looks like a Stash in the Cache,or a hidden ore mine! Did that bring you up to that Question! Some memory contacts use tin or gold, as far as I know not sure about cpu's but that mainboard article ws interesting!