A surfing competition was thrown into chaos after a photographer was bitten in the water, triggering fears of a shark attack.