Interesting article - digging into internals is always enlightening.
The question you asked at the end - I asked that very question too. And the answer, in hindsight, seems obvious - since every APEX application is nothing more than rows stored in metadata tables, the earliest APEX components were built by directly running SQL or calling the very PL/SQL APIs that the Builder itself calls to create and edit them for you!