Oil companies have actually not benefited from America's middle-eastern wars. America's regime-change wars have made the region less profitable for US oil companies. Why invest in infrastructure in countries with unstable regimes, or risk of infrastructure becoming a target?
If anything, energy companies would benefit from the sanctions on Iran being lifted, so they could invest in infrastructure there, or buy gas from Iran.
I hope one day this silly 'war for oil' meme will disappear.