Brother Rashid. There is nothing directly against Islam for working in Oil industry; unless a company is deliberately destroying the environment or directly engaged in illegal activities. If we consider indirect impact, most if not all companies are somehow engaged or supporting something against humanity.
Having said the above, the real root cause of environmental disaster is not Oil, nuclear or anything else. The real root cause is…
1. Human population increase. (More people need more food, more homes, more clothes, more travel and more of everything. To manufacture more of everything from ores, to various steps of manufacturing to various steps in shipping, to end of cycle when a product is disposed. The whole cycle requires so much energy that no matter what energy source we use, it would harm the world.
2. Excessive or extravagance life style. If increase in human population and providing essential for their survival was not bad enough, there is a second problem of living extravagant life style. Having multiple homes, many cars, big trucks, boats, lots of furniture and all sorts of luxury items. Possession of all these items requires manufacturing, delivery, use of product to disposal. Each step adds to environmental impact many times over. This is biggest environmental impact issue than if humans were living a basic and simple lifestyle with very few possessions.
3. Disregard of environment. Disregarding environmentally friendly process for manufacturing and using less efficient methods to gain short terms profits and competitive edge.
4. Narrow minded and selfish attitude by countries. Rather than the World being one for all, every country is trying to be more technologically advanced and economically better than the other and in the process becoming selfish. The mindset is that their actions are not harming the environment as much as others. Or others got economically strong by harming environment; why can’t we do the same. There is no end to greed.