Are you under the assumption that Taiwan is far from the coast? It’s 110 miles. It’s with in striking distance of aircraft from the mainland.
Another thing Russia has barely used is it’s air power.
Comparing these two ventures doesn’t really make sense. Russia is having the lpr dpr fight it out with back up from Russian forces. Air strikes are limited. Missile attacks are limited. It’s really a ground war with many restrictions placed on the Russians by Russia it self.
China vs Taiwan my guess would be way more gloves off. China would use it’s air power to decimate Taiwans defense. Than it would use it’s largest in the world navy to land and take out resistance.
But yeah. I don’t think they will do it unless they really have to because China is clearly afraid of sanctions which they most likely have not prepared for unlike Russia.