Traditionally, cameras would just focus using the single focus point the photographer has selected, or if they have selected a larger area focusing mode, the camera would typically pick the closest point of a group of points, assuming that that's usually what the photographer is interested in. In tracking AF modes (eg. Canon's Servo AF), depending on settings, the camera tries to avoid sudden shifts in focus even if a foreground object momentarily occludes the original target.
[1] https://www.canon.com.hk/cpx/en/technical/pa_Overview_of_65-...
[1] https://cam.start.canon/en/C017/manual/html/UG-04_AF-Drive_0... [2] https://cam.start.canon/en/C017/manual/html/UG-04_AF-Drive_0... [3] https://cam.start.canon/en/C017/manual/html/UG-04_AF-Drive_0...
The AF settings, except those related to face/object recognition, haven't actually changed that much since the 7D Mk II days. The preset system is more general now and allows you to store and recall all AF settings rather than just the three tracking-related variables. The high-end DSLRs used to have six cases for different types of sports that you could modify but not rename.
The Z8 has a whole separate processor dedicated to autofocus and the viewfinder which, in practice, means it can shoot 20 FPS full quality 45 megapixel RAW files with continuous 120fps autofocus without blacking out the viewfinder for each shot, which is absolutely insane.
I have no idea how this worked, but would have loved to see the photos they used for “training” this system 25 years ago.
In case anyone else was looking for it, this article from the same author covers the more algorithm-y question of how a camera body decides to actually use these motors when you press the "focus" button: https://exclusivearchitecture.com/03-technical-articles-DSLR...
I can't find any articles on how a camera body decides what is and isn't a desired subject. I'm guessing there's some amount of machine learning-type stuff involved in that, seeing as how they can detect human (and bird?) faces?