It doesn't care about friendlies at all. It ran me over, then another friendly AI aimlessly driving a tank. Then it was firing at enemy AI behind me so it killed me and another friendly AI that walked towards me. So I removed weapons from it but forgot to take grenades, so it chucked one and killed itself, me, another AI and enemy.
I have to admit I chuckled at its stupidity.