Caterpillar delivered quarterly earnings and revenue that fell short of analysts’ expectations on Thursday.