It's capitalism – the true "artificial intelligence" that has been organizing human life for the last ~200 years or so.