Caterpillar gets wrapped in slowing China demand and supply-chain woes