I mean, they might have realized that oil will eventually stop making current levels of profits, and thus they want to diversify.
But that doesn't mean they don't want to postpone this moment as far as possible into the future.
You're right, they are earnestly pursuing both, for exactly the reasons you describe: pure profit.
But Saudi Arabia has implied that they are pursuing green tech for environmental reasons, which is absolutely antithetical to the stance of "let's burn every single drop of oil we can before it stops being profitable."
"... lobby against government subsidies for electric vehicles in countries around the world."
invalidates the claims they have made to be earnestly pursuing renewables. Personal transportation is a huge consumer of nonrenewable energy today, and EVs are the shortest path to transitioning personal transportation to renewable energy.
Why would it? My understanding is that royal family promotes this particular brand of religion because it helps them maintain social control. It also makes it harder to infiltrate their country with external influences.
After that event, the royal family struck a deal that gave the extremists more influence in exchange for holding onto power...we're talking women banned from television, cinemas shut down, extreme gender segregation, etc. It was that way until MBS, a relatively liberal person, ascended and whisked some power away from the religious police and extremists, with an iron fist, of course.
Despite their vast oil wealth, Saudi really lacks the human capital to keep the gears going without the help of foreign expats. If the oil wells hypothetically dry up tomorrow...the country is in deep trouble.
(there's an alternative line of thought that says "you gotta follow the leader because a leaderless state is even worse", and that line of thought is generally prevailing in muslim countries; that's how one would justify having some out of the blue family running Saudi Arabia, with its two out of three most important Muslim holy places)
I went through failure of one such system in Eastern Europe and saw first hand how it destroys so much we consider granted in one's life and in lives of your closest ones. Those western kids supporting communism and its variants - shame on you, you have no clue about real world and life and you literally do an insult to (tens of if not hundreds of) millions of dead communism victims and its twisted ideologies.
Sorry to get carried away a bit since this is something personal for all those affected.
Because they have a very active police state working to prevent a Grand Mosque Seizure 2.0 or worse.
This is a major reason Saudi troops are in East Yemen and working with the American CJTF-OIR in Syria.
That being said this will be decided by whichever technology is cheaper (including things like the risk premia of being potentially cut off from supplies), regardless of agitation either way. Unless somehow, magically, we can force everyone to pay up for their share of damage caused by temperature change - which is extremely far away from being realizable. UN Security Council cannot agree on much more obvious things, like deciding in specific cases that bombing civilians is actually illegal.