Dubai came to the world’s attention only a few years ago, writes Daniel Brook in A History of Future Cities