There is an interesting argument to make about complex societal organizations behaving as an AI, also, certain animal colonies could enter this fascinating subject.

Think of it not as an actually intelligent creature but more like a survivalist intelligence where the individual elements of it (i.e. the humans), devolve from an actually intelligent entity to a simple cell in a bigger organism.

Granted, rather than AI perhaps a better comparison would be an artificial creature.