The role of AI in detecting and mitigating human errors in safety-critical industries: A review · Study