Network intelligence in 6G: challenges and opportunities