Artificial intelligence and on-the-job safety