Taiwan has a military.
So did Poland.
The only thing that keeps Taiwan reasonable safe is the implied protection of the US, a country that is led by a guy who is owned by China.