Artificial intelligence, hiring and the law