I have to say, unlike jiejie, I like to live a little more dangerously. I like fruit and salad, and just take it as a risk when eating out. I would perhaps be less inclined outside of big cities, where water sanitation is even less likely to be robust.
Re: ice, again, if it's a tiny place, with 'dubious' hygiene, avoid. Otherwise, it's probably OK.
My biggest issue is that I almost never see a Chinese person wash their hands. I don't know what goes on in restaurant kitchens, but I am happier in ignorance. Having said that, have rarely had an issue, and certainly no more than US and Europe.
As a casual visitor I would be more cautious, since you'll survive perfectly well without fruit/ raw vegetables/ice for a week or two.
I like the hotpot tip given above -- I usually use dedicated chopsticks for the raw meat.
tb