Caterpillar buys Canadian equipment maker