Have you seen the movie children of men?
I have. Had to see a trailer, and was reminded that it is a really good film.
Not that this one is the same, but have you seen this: The Creaotr (2023)
Some folks believe that having ai involved in wars will mean less wars! Something about the more powerful the protection is, the less likely there will be conflict! I don't know if I agree with that as man will control the ai but we'll see! :)
From witnessing who our leaders are and what little to no humanity that they are host to, I am an optimist without hope.