The Royal families have invested over a long period of time, even after the oil runs out there they will still fare well. The remainder of the defacto welfare states will be in for much tougher times.
How long will it take? Fifty or one hundred years? Nobody really knows the answer and the Saudis aren't allowing audits or telling tales.