Ethical and legal challenges of artificial intelligence-driven healthcare