YouTube said it would ban content from QAnon and Pizzagate conspiracy theories linked to violence “immediately,” after crackdowns by other social media companies on against such content.