A large shark has been spotted in St Ives harbour in Cornwall, prompting safety warnings from experts.