Not just the USA, but others as well. Between the EU and the USA, China does ten times more trade than the $160 billion it does with Russia. Xi or other Chinese leaders must be drawing lessons from the Russian experience in Ukraine, Taiwan is a high tech and industrial power house that can make advanced weapons by the millions. Any Chinese invasion would be sunk at sea by shore launched anti ship missiles and God knows what else and their air force would be shot out of the sky before seeing the island with AA batteries. If they managed to get to the place, then the fun would begin, if you though Ukraine was something wait till they get ashore and get that tiger by the tail in urban warfare. China is a lot more sensitive to sanctions than Russia and heavily dependent of trade and foreign investment, they are a lot more integrated into the global system. I can use interact and paypal to buy stuff online directly from China at places like Bangood. The Chinese have grown as fast as possible the last few decades as part of the global system, they want to win by competing in this realm with trade and international agreements and don't want to fuck up a good thing.
i would not count on any of that. Xi is a fascist asshole, but he's not stupid.
If and when he comes, it'll be hard and heavy, and fast. russia fucked up and cost themselves a lot, Xi won't make the same mistakes.
Taiwan isn't even 100 miles off shore from China. Xi would probably lead with targeted missile strikes on their defensive emplacements, some launched from the mainland, some from subs. in that chaos, he would call airstrikes, to cover his naval landing...which would be huge. If he decides to take Taiwan, i doubt anyone could do fuck all about it.
but as you say, that would not be in his best interest. he does a lot more business with the west and the EU than he does with russia, and he has to be seeing that most of the world now considers russia a pariah state, untouchable and unclean...he wouldn't want that same status for China, and wouldn't want to deal with the possible war it could cause.