Doesn't matter if AGI is open source. The main problem is the devaluing of human labor which a lot of people today trade for vital goods and services.
People who own nothing that can produce continuous value will not have anything to trade with in the long term and will effectively be excluded from the economy.