That doesn't address the lack of MAD nor any vulnerability to a first strike.
It's worth noting that China isn't just "a larger power," it has a particular fixation on Taiwan. It may not be deterred as easily as you think. IIRC, Taiwan acquiring nuclear weapons is one of their stated red lines that would trigger a war.
If Taiwan managed to nuke a Chinese city when it's invaded, it would probably just make the Chinese madder.
P.S. Their military might not even be willing to invade if Taiwan is going to be lobbing nukes left and right, and possibly right into the invading force. Look at how China had to redrawn from their skirmish with India after they lose a few people to weather - and simply because the troops wanted to head home for Chinese New Year.
do they need to target beijing? Targetting guanzhou would already wipe out any gains from capturing taiwan.