The ccp is playing the long game. I don't think they really care about short term economic loses. I mean look at what the did with hk.invading a island is hard and they probably need to worry about America. Otherwise Taiwan is probably in trouble.
It's more of a medium game. A dictatorship can plan 5-10 years out. But they can't exist indefinitely. By design, there is no succession plan.