A lot of it will come from being able to remove services like food stamps, unemployment benefits, various pension and social security payments etc. The rest will probably have to come from raising taxes. You can structure the UBI and tax rises in such a way that they end up cancelling out for those people who don't 'need' UBI