A two-metre shark sent swimmers fleeing to shore after it infiltrated the net at Western Australia's Cottlesloe Beach.