The Evolution of AI: From Humble Beginnings to a Technological Revolution