It's basically not possible to do that without making those things cheaper somehow. Convert the entire US federal budget to UBI and it is around 10k per person. Healthcare alone per person is already 9k. Housing is maybe another 5k. And this is before those things get more expensive as people consume more of them.