The company faced protests outside its studios, celebrities threatening to break ties and political pressure from Republicans and Democrats.