Investors step back from risk amid worries over China data, Afghanistan