I would say oil related companies are malinvestments. There are 47 years left of oil at the current consumptions level and we need to work on other solutions. The world is trying to focus on renewable energies and there are a lot of alternatives to oil like Nuclear Fusion.
Combustion engines are also going to be banned in around 10 years, which will also decrease the usage of oil.
I really don’t see how oil might be a good investment.