A number of insects, like ants, bees and termites, create the equivalent of settlements (mounds and hives) and have structured societies, so to speak. Some termite mounds are very big, so maybe you could call it a city.
Whether what they have could be analogous to our economy is debatable, since they all work to feed their respective collectives and never engage in any form of trade with different communities, though they may fight