This completely misconstrued the fundamental premise of technology: did the invention of tractors mean everyone starves without UBI because 80% of field workers lost their jobs?
The answer to your question is the same as the story of what happened to the economy and food availability after tractors were invented.