I don't know about China, but in many countries you'd likely have to pay import duty, if you're planning to leave the computer there. The desktop could also attract attention in the US if there's concern about export rules.
Personally, I'd either pack it in luggage or, better yet, ship it.