Todd Hazelwood walked away after a horrifying crash on the penultimate lap of the first qualifying race at the 2017 Sandown 500.