The UK government has it "not allow cultural and sporting events to be hijacked" after Israel warned its citizens to stay away from events in the country.