Authorities say a rare polar bear spotted in Iceland has been shot dead by police after being considered a threat.