Smart government. They realize the oil isnt going to last forever and they're planning for the future. That was the plot of the movie Syriana as well.
From the website linked above:
The decision to build Burj Dubai and other skyscrapers is reportedly based on the government's decision to diversify from a trade-based (and oil-reliant) economy to one that is service- and tourism-oriented.