That's like asking what the value of sharing is. China would provide funds, equipment, astronauts, etc that could be partially shared - like with the ISS. Note that the U.S. doesn't have to turn over source code or detailed designs to share stuff. Also, soon, China will develop original technology that others do not yet have (or already has?).