I believe the answer is: Both tried to control competition to increase profits.
John D. Rockefeller and Andrew Carnegie was known for their strategy to monopolize the market so the could control the competition and became the sole provider for a certain type of commodity in their perspective market. (Carnegie in steel market and Rockefeller in oil market_