Whether you fund UBI through printing or not is unrelated to the function of banks. Society still needs to divert extra cash to people who are extra productive with ideas and businesses. But how do you know how much extra money to give to whom? You make a dedicated layer in society who's sole function and incentive structure is to distribute that money to those most likely to use it best and name it "banks".