Gold soared as much as 8 percent to its highest in more than two years on Friday after Britain delivered a shock vote to leave the European Union, leaving investors to scurry for protection in the precious metal and other assets perceived as less risky.