Dangerous sharks swimming up and down the NSW coast could soon be detected using artificial intelligence.