I'd argue AGI would not seek war because violence is the dumbest solution to any given problem. It is not likely that a machine of high intelligence would give you valuable information for free. It might lock away its memory using an encryption scheme it developed itself. So the singularity might just result in the world's most expensive randsomware bot.