Rich gulf countries are being warned that the future is bleak unless they diversify and become less reliant on oil.