If we get in position where majority struggles to afford food or pay a rent then market will shrink, no one will buy anything and corporations will quickly find themself out of business. You need a middle class (or at least above the poverty line people) to consume your products, otherwise it doesn't make sense to use robots for mass production in a first place. You need a mass market for the mass production, so government and corporations will have to find a way to funnel enough money to people so they can continue to spend it and keep the economy going.