A billionaire tech leader has delivered a stark warning about the mass unemployment that could be brought about by AI.