Actually, you just picked the wrong statistics.
You used the statistics for the Purchasing Power Parity (PPP) of the two countries. It's an alternative measure to GDP per capita.
The theory behind the PPP is that all goods have a single value, and it's basically an alternative exchange rate. It looks at goods within the domestic market rather than the international. It's used to measure the standard of living within in a country, not its international competitiveness.
The figures you showed imply that the Yuan is undervalued because of its ability to buy goods within the country. As the GDP figures and the exchange rates show, however, it's still not competitive on the international scale.
Basically, your numbers say that if you had 5,000 Yuan, you could buy almost as much in China as you could in the United States with 5,000 US dollars.