There are a few others beyond Microsoft and Apple.
Intel has made a huge amount of money from China.
Google's Android positioning in China has made it a lot of money as a defensive position for the rest of Asia. By conquering China with Android, it delayed the inevitability of China having their own domestic dominant mobile OS (which will push into other countries in Asia as well at least, harming Android elsewhere).
And while not in China, Facebook makes a lot of money from China.
Did they? Not only is national demand nowhere near enough to use up the Shanghai production, but they're having to export MIC vehicles and adding Model Y production. All of this with strong government backing of Tesla (as Musk said "the same as any Chinese company") and Chinese banks being told to accept any loan for a Tesla vehicle. Despite that they've had more price cuts than quarters and demand does not show any signs of improvement.
This also on the back of the ticking time bomb that is their Shanghai contract. We should probably wait until the end of 2023 to see if Tesla "succeeds" in China.
Well, it seems that they just can't compete, then. If what you are saying is true, then Tesla is in imminent trouble everywhere and needs to step their game up.