Other people have offered practical reasons why they aren't really the same programs with the same goals, but in case you're up for getting utopian, some people see UBI as a necessary step as we enter a later stage of capitalism. UBI + reduction of working hours together are two feasible steps to reevaluate life under capitalism. Rather than sticking people in a 40hr/week job in order to survive, these steps give people more agency over their lives and probably improved treatment as workers. Basically you're paying people to live their best lives and breaking down as many barriers as possible for them to do that.