AI and autonomous systems: Trends, opportunities, and constraints