American Quincy Hall came out of nowhere with a remarkable last 30 metres to pip Great Britain's Matthew Hudson-Smith to the finish line and win the men's 400 metres gold medal in the most dramatic of endings.