Engineering Artificial Intelligence: Framework, Challenges, and Future Direction