They have a lot of money.
And they want to diversify because they know someday the oil is going to run out or an alternative found.
Plus the UAE isn't saudi arabia, they are the most pro-western Gulf state.