Britain may impose new taxes on tech giants like Google and Facebook unless they do more to combat online extremism, the country's security minister said.