A shark has been spotted lurking near one of Sydney’s most popular beaches.