You can do this with any camera, including the one in all the phones out there. The only thing specific to the glasses is that it's more convenient and inconspicuous to be wearing it on your face.
Might as well have put the iPhone in the title for more clickbait. Anyone dedicated enough can make or buy tons of different kinds of wearables that could do the same.
The key issue is that such a database exists and is so easily searchable.
If they're counting all the auto-completed code that's inserted after pressing Tab on an AI suggestion (such as from Copilot), then I easily believe it.
Tons of places in code only have 1 possible thing that can go on a particular line, given the context, and there is no point in typing it all out manually.