The real strategic defense for a spaceship in space is hiding. Paint the outer surface black, and make it non-reflective to radar, refrigerate the hull, and divert the heat to a sink that can't be seen by watchers: either hidden or very low S/N ratio. That takes care of visible, radio, and infrared. The tactical defense is, of course, mobility.
China has a big inferiority complex, in my opinion. Despite a large population, many of whom have above-average intelligence, China was slow to develop MODERN rocketry (despite its ancient invention of gunpowder propelled small arms), and when it did so it needed the example of Western achievement to emulate as well as a substantial amount of technology transfer from the United States. China acquired some of the necessary technology clandestinely, via Israeli espionage against the United States.
So, although it is to China's credit that it can now put people in space, let's not go too far with that credit. The USA and Russia both did it much sooner, with an earlier phase of technology than China now has available, and without the assurance of previous success that such a thing as spaceflight was possible.
However, China is letting its feelings of inferiority lead it into the bad policy of modernization. It is much too late in the fossil fuel day for such extensive industrialization as China is undertaking to be worthwhile. In 20 or 30 years, all their factories and technology will be unusable because there won't be energy to turn them on. (Contrary to superstition, technology does not "create" energy. The very idea is contrary to the laws of nature. Technology FEEDS ON energy. Without energy, technology simply does not work.) It would have been wiser for China to concentrate on quicker population reduction measures and on using what energy is left to arrange for an easy return to pre-industrial lifestyles for the remaining Chinese people. Ah, what errors are made when feelings of inferiority rise!
You can't transfer any significant part of the Earth's population to other planets. There are no off-planet habitats other than the ISS, for one thing. And even if there were, Earth's population grows by 200,000 people each day. You can't carry them away as fast as they're being born.
Now, of course, the highest purpose to which humanity can aspire is to bring the seed of the Life of Earth to other planets, thereby giving our planet's biosphere and evolutionary legacy to new homes and greater security from extinction. But I think we've squandered too much of Earth's fossil fuel energy for comforts, for wars that achieved nothing of lasting value, for sentimental humanitarian projects, and for needlessly boosting the human population while retaining even the lowest grade of its members to the natural extent of their lives. Doing those things has probably cost the Life of Earth its only chance for outlasting the sun.