Swarming behaviour comes to mind, eg shoals of fish, flocks of starlings etc. You'll see thousands of individuals working in beautiful coordinated unison without a central controlling authority, simply because each "node" is implementing basic self-preservation rules.