Governments are not capable of reacting to this within five years. It’s barely an election cycle. Predicting that all countries will have introduced basic income within five years is rather bold.
Anyway, there’ll be more programming work (because it’ll be cheaper) before there’s less programming work (because it’ll mostly get automated away). It might even pay better.