A friend of mine works at Skydio, which is an autonomous drone company. You give the higher-level instruction like where you want the drone to go to, or get it to follow you, etc and the AI navigation system figures out how to get there while avoiding obstacles and keeping the subject focused in the camera: https://www.skydio.com/
Following an ATV through a forest: https://youtu.be/mXeUHD-eVMs?t=329