Also, it would be a LOT more costly militarily for China to attack Taiwan then it is for Russia even though Russia is absolutely being railroaded for an army of its size. China wouldn't have the luxury of being landlocked with their target. China wouldn't have the ability to hide as they would be out in the open regardless of how they tried to attack Taiwan. Losing tanks and the like sucks but losing ships with a large amount of troops on them plus the added military arms that goes along with it is far worse.
If anyone wants to see what attacking a fortified beach looks like, look at the beach at Normandy and the insane amount of losses that happened there. This also doesn't include the fact that the majority of Taiwan is mountain type terrain which brings its own set of challenges.