There won’t be an invasion of Taiwan.
Pulling off a seaborne landing is quite literally the hardest military endeavor to pull-off. Look at the Western Theater in World War Two and the Allied experience at Dieppe, during Operation Torch, during Operation Husky, and the fighting at Salerno, at Anzio, at Normandy. And look at the USMC experience in the Pacific. Except for Dieppe, all of these landings were pulled off with complete air supremacy, complete naval supremacy, and overwhelming numbers of landing troops. The U.S. and the British are the only countries in the world with extensive real-world experience at pulling off contested seaborne landings and subsequently supporting them logistically.
Now look at Taiwan. The island is bristling with air defense, ground-launched anti-ship missiles, and a coastline that makes seaborne landings challenging to execute and support. The PLA won’t achieve air supremacy or even superiority, and they won’t achieve naval supremacy. It would be like Omaha Beach x 100 for the Chinese, and that assumes the PLA marines even get to the beach which I doubt.
once the initial attack is repulsed, you can expect Taiwan to start launching cruise missiles and ballistic missiles against the staging areas on the Chinese coastline.
We haven’t even addressed the idea of drones, or the very likely military support from the U.S., Japan, the Philippines, and South Korea.
Xi knows that the odds of military success are as close to the zero bound as possible. Threats of invasion are just bluster.