Global shares slump and gold hits a record high as investors fret over tariffs