Qatar relies on oil. Saudi did, now they realise its future is doomed. They created PIF to use business to maintain/ increase their national wealth.
Actually, Qatar relies on liquefied natural gas. They invested billions into methods of turning their huge gas reserves into something profitable, previously you needed to pipe it. They revolutionised the liquidation and transportation of gas.