Re: the error is in call it "AI" !!!
Group mentality can be blamed on evolution, though I fear it could be a behaviour I should be thankful for. Allowing our early ancestors to consider other groups /species as the enemy and to kill or steal from them, just because "Oh fuck, they're getting better than us".