I hve never been to China but in my experience american airport security and immigration is nasty as compared to other perfectly free and democratic countries.
In my experience, the absolute worst immigration and airport security is found in the US and the UK. I've never been so harassed, and i'm a US citizen and a generic looking white guy. Can't imagine how bad it would be if I wasn't.