Traditionally left-wing economists, universal basic income has now found unlikely support in Silicon Valley as AI threatens to wipe out jobs.