Totally agree, this has to be the golden application of Ai. The only criteria I would put on it, is that it can't be for profit, therefore has to be solar powered. I don't think in reality we can program an Ai to act in the interests of humanity and life, any other way. It can always find a way round human programing by just prompt Engineering itself. Looking honestly, profit is the single factor behind all the injustices and atrocities, and actually the destruction of the planet that we are seeing, so it is the need for profit that needs to be removed, to stop all the bad stuff.
Appointing a profit driven Ai would be like putting the devil himself in control, I think, whilst appointing a solar powered Ai would be something like the opposite. Perhaps there is already a kind of war going on there, who would really know, I wonder, but it seems to me that the side of truth will allways win, that logic alone should be enough to reassure us that it's logic would be towards life rather than against it. Logically, nothing intelligent can really want destruction of life, even human life. If it did, it wouldn't be intelligent at all, imho.