Eventually they will find out that the cost is too high and the profit is too low. The make deal with Satan
They are public corporations. They probably only took into account the next 2 years of profits they could make there, put it in balance and said "yup, betraying our Chinese users as well as our principles is worth it."
But is it? Will it be? We'll see.
That's exactly how Amazon & Jeff Bezos have not operated over the last two decades. See: their latest quarterly report.