Caterpillar Inc., the company synonymous with yellow bulldozers and mining trucks, is getting a boost from another type of machinery. Power generators and turbines, which keep data centers running, have become a dominant driver for the company as demand for artificial-intelligence infrastructure takes off globally.