(Bloomberg) -- Caterpillar Inc.’s first-quarter earnings topped analysts’ estimates as surging demand and higher prices for the company’s diggers, bulldozers and trucks offset the impact of rising costs for raw materials and ongoing supply-chain issues.