China has a good economy and export business that it wants to protect, which “protects” Taiwan since much of their export business goes poof if they decide to invade the island. The “detachment” of the US and Chinese economies makes an invasion of Taiwan more likely, not less. Economic entanglement has led to more peace than military force projection.
You can and need to have both. Look at Ukraine.