Nearly 200 countries and 20 U.S. states have established government-run investment funds to manage their wealth. But could it work for the nation?