Artificial intelligence (AI) could be the biggest challenge facing the jobs market and even humanity itself, according to Nobel Prize-winning economist Robert Shiller.