How Should the Fruits of Advanced A.I. Be Distributed?

I’ve read that advanced A.I. could increase productivity enormously. This could translate into hundreds of billions or even trillions of dollars per year. This should not mostly go to make billionaires richer. A good alternative would be to make sure that everyone has a sufficient income to afford adequate food, water, shelter, and health care. That’s what would happen in an enlightened society, and ours should become one.