Artificial Intelligence-Based Autonomous UAV Networks: A Survey