AI doesn't suffer from unhappiness, eliminating the #1 limit to expansion by us players. Thus it only makes sense that many AI leaders spam cities to their heart' content. The only drawback to city spamming from the AI's perspective is lackluster culture, since each city increases the culture threshold for the next policy. So yeah, that's a small price to pay for the benefits of additional otherwise free cities.