Artificial intelligence (AI) has advanced remarkably in recent years, transforming industries and societies worldwide.