Oil won’t be around forever - Shell themselves state their peak oil production was 2019 and is now declining year on year. A large part of Shell‘s investment is achieving carbon net zero and expanding support for electric vehicles, hydrogen, biofuels and electricity generated by wind and solar power.So roughly the profits they made in Q1 this year, with the whole rest of the year to cream it in? Also.. Define "investment". What exactly are they "investing" in?
If you're talking about continued oil / gas exploration and drilling - That is a fundamental part of their business model and can in NO WAY be seen or represented as "investment".
If they did not do it, their wells would run dry, they would run out of product and cease to turn a profit. You make it sound like they're giving away £10bn every year for the betterment of humanity.
So yes, their investment is for the greater benefit

My weekly Asda usual weekly shop rises every week now and its beyond crazy , have already sacrificed my BBC license, TV access and now on basic Sky broadband ,,, i cant lose anymore than that ... what else can I sacrifice to the Gods of Greed Profit and Energy? when will it all stop?