The hives you live in are, though wonders of modern engineering, certainly not self sufficient facilities. For food and mineral production, they're completely dependent on the fields and mines that surround them. In essence, the hive structure forms the core of an economical unit. Peripheral installations near the hive (like fields and mines) feed material into the core (the hive). The hive in turn sustains the periphery. Each can not exist without the other.
In addition, the hive architecture itself is completely unsuited for vacuum operation. Tremendous amount of engineering effort has gone into ensuring an easy transfer of air through the hive to keep it livable. For the vast majority of their needs, they don't rely on artificial lifesupport systems, but on passive natural solutions.