So, a small analogy.
For years, when I had to show my ID to buy pseudoephedrine to the pharmacist, I was pissed. I made a point of always explaining that I thought having to identify myself because of someone else's criminality was bullshit.
One day, I was talking about gun registration and had an epiphany. I realized that this was exactly analogous to registering to buy pseudoephedrine. Guns are dangerous and we need to know who buys them. There is no way to know who is innocent so we register everyone... in both cases.
I stopped complaining.
I think today has to be another of those moments. We are happy enough to let the tech companies say, "You are doing something that we consider powerfully against the common good and we will not help you do it."
That is exactly what homophobic bakers say.