I fear you badly misunderstood my comment if you think I think China is doing anything at all out of charity.
China wants to supplant the US as the world hegemony and we'll all be worse off for it. The Chinese protectionism I described is China exercising an avenue they think will help them approach that goal. It certainly is not charity.