Nothing. This is exactly was happened in France where there is welfare money for housing (APL): landlords raised prices saying that rented are helped anyway. In the end the situation is better for landlords, equals for people getting the welfare money (not everyone), and worse for people who don't.
Then we already know that our major grocery chains will do exactly the same thing, based on their current behavior. Unless UBI is handled with care the average recipient will just be a middle person between the government and the greedy.
It does get into elements of the basic problem though: i.e. would the government be (in the short/medium term) better off using that money to subsidize housing construction ?
I believe a UBI is our future, but I'm not entirely convinced we've actually hit the societal-scale productivity necessary to support it yet