An interesting paper presented at Neurips ‘21 with code about cellular automata whose transition rules are learned:
https://github.com/danielegrattarola/GNCA
This could probably be used to simulate all sorts of things including an economy. Might also be useful in producing self-healing structures.