Residents are being told to avoid swimming at some of Sydney’s beaches after they were contaminated by stormwater and runoff.