New research is warning about the potential impact of job losses caused by AI.