Finalist Mick Fanning narrowly escaped from a shark during the J-Bay Open competition in South Africa.