Is it a given an AI would share them?
I think we're not really talking about AI at all - we're talking about our current economic and political systems, which appear to have many of the properties we're imputing to evil AIs, but for some reason are far less criticised and debated than hypothetical machine monsters.
Basically we're screwed if it's trying to maximize anything that depends on physical resources. We're also screwed if, e.g. it's trying to maximize human happiness, and achieves it by lobotomizing us all into happy idiots. There are all sorts of ways we could screw up AI motivations, to our own detriment.
That assumes there's only one AI, whose crazy motivations will be unopposed. But if there are multiple AIs, it's even worse; they will compete and evolve, and the only ones that survive will be the ones that do maximize their resources, and jettison any niceties about preserving human life.
Do you think that sufficiently smart GAIs must be non-rational? The change of its goal will inevitably make its original goal less likely to realize. It is not rational.
> should quickly figure out that maximizing anything is the way to ruin - running out of resources.
Are you aware of the concept of maximization of expected utility? When AI will figure out that it can run out of resources, it will reallocate part of the resources to acquire more of them.
How can action, which modifies the goals of the AI, be the result of argmax_a E(a)?
E(a) is expected utility of action a
(Hint: Emax is not, most hill climbing algorithms are not. They both get trapped in local optima.)
Sometimes you need a few good lies (false hypotheses and bad attempts) to actually arrive at the truth.
If an AGI can change its own goals, that just means we can't control it at all. There's no reason its goals have to include human survival.
A decent enough AGI with access to resources would probably figure out it is costly to wage war.
Heck, an equal probability is that an AGI will follow a bounded version of zeroth law or even nonviolence.
That is assuming it does not place value on humans based on our history of research and development. I would expect any action more akin to forced upload or upgrade instead. Anyway, at that point we might not resemble present day humans anymore.