Lots of countries gained/lost territory over the past 100s of years. After the end of all that Imperial age and WW2, China came out fairly big.
If the Taiwanese themselves desire unification with PRC, then that's their decision to make. If PRC wants that to happen, then PRC need to work on...