It refers to the annexes you see growing out of the back of the house. People used to (and sometimes still do) start with a modest house, and then as time went on and money came in, build out into the yard, adding a new kitchen, toilet, shed, veranda, etc.
It has since also come to refer to things that get extended and patched up over time without a lot of coherence or forethought, like our tax codes (they just add rules, bonuses, penalties, etc. on top of the baseline instead of doing a thorough tax reform)
I remember seeing a hypothesis that ADHD would have been beneficial in Hunter-gathering, as you would more quickly move from plant to plant rather than fully depleting a resource. It was just one study where they had a sort of game/simulation to test it though, so very early days on that theory.