You can already pass customs in an airport through face recognition in the EU. I don't see it as much of a stretch for it to be extended to boarding.
You can't, actually. Those passport-scanning, camera-enabled gates are not automated, they are remotely operated.