Dubai, Kuwait, and Saudi Arabia are raising the stakes with mega-projects in clean energy, water, and renewables.