(Mods: you may want to move this to the destination forum for China)
Foreign cards work in many (but not all) Chinese ATMs.
As far as I can remember, the ATMs didn't charge me anything extra (I'm sure Cirrus/Plus will give them something for their trouble)...therefore it all depends on the T&Cs of your credit card.
Make sure to withdraw lots of cash, as foreign credit cards are not widely accepted in shops etc.