Our city is increasingly reliant on a web of AI for everything from food to transport. But what if it all goes wrong?