Neither UBI nor any other policy changes that.
Housing costs in expensive markets are set primarily by land values and not by the value of the capital/building upon the land.
Yes you can make a dent in the problem it by zoning for more units, but you cannot zone more land into existence in high value areas.