"China's huge market"
Make no mistake. Xi can throw as many undesireables he wants into "reeducation" camps, the sheer market potential will ensure that ginormous tech giants will always be at the door, begging to get a slice.
Russia has less than 150 million people, and they are spread over many time zones. Claiming to support Ukraine is the current fad, and the tech giants will come back later whatever happens saying "now it is time to heal the wounds". They will say that whether Ukraine still exists or not.
China is a totalitarian dictatorship much like Russia.
You cannot claim to support freedom and rush to invest into a billion-sized market that is under near-total surveillance.
Your cupidity belies your words.