Ethical and regulatory implications of artificial intelligence in healthcare