Is China-Taiwan analogous to Israel-Palestine?

China calls for ‘independent, fully sovereign state of Palestine’ (youtube.com)

Apparently, China believes Palestine to be sovereign yet refuses to recognize Taiwan's sovereignty. It is logically inconsistent that people want Palestine to be free and independent, but then say that Taiwan is not a sovereign nation and officially belongs to China. How can one call for a two-state solution in one instance but not the other?

I've asked some pro Palestinian leftists how they feel about Taiwan being a sovereign nation and they say, "No, Taiwan belongs to China. Apples and oranges. Israelis and Palestinians are different ethnicities and religions so Palestinians deserve their own sovereignty but Taiwanese and Chinese people are the same. You speak the same and write the same language. Therefore, Taiwan belongs to China. Its like saying Texas or California wants to be a sovereign nation. Plus, Taiwanese people have not been dealt w/ apartheid the way Palestinians dealt w/ apartheid."