A Universal Basic Income accomplishes this goal more effectively, because it still uses markets to distribute resources. While markets obviously don't work for all things, they tend to work better than central control.
It's not in the best interest for the actually influential people to increase happiness for everyone, and as automation removes the need for workforce (which was needed in the rise of capitalism or the USSR), the masses will not be moved in favor of communism and will instead be hampered.
Do not confuse communism with other forms of economy. Communism is a centralised system. With robots the cost of manufacturing an object get to 0 if robots can harvest raw materials (metal, corn...) and repair themselves. This would mean the cost of everything is 0 Just like the economy in startrek.