I'm pretty sure this is what happens when they clear lairs with troops (their heroes are all off doing something else). It's somewhat understandable, they have other things in queue to do, and they can buy equips, so picking up loot is lower priority.
Normally AI heroes are pretty good at picking up loot, sometimes they'll steal yours if you kill a lair and don't have the movement to loot. 