It depends largely on the technology of a given setting/polity and what its concerns are.
I mean realistically speaking, most all Sci-Fi is absolute shit. Stellar mining, for example, should be much more prevalent.
In 40k, one use of agri-worlds is to control Hive Worlds. Say Sagely-2 is a...