Safety challenges of AI in medicine