For one, its a parliamentary system. People don't directly elect the Prime Minister. One Trump can get elected by chance, but for a Trump like PM, there need to be a lot of rogue MPs.
Of course, that didn't stop the UK crackdown on immigration, but that was a slow process, so there should be...