Programs that truly are needs based don't really fit into the Marxist approach. UBI is much closer to, or just is, Marxism because its universal. You get the money simply because the government decided that is the amount of money everyone needs and deserves.