* A good summary of group compeitive behavior of bacteria, including several territory control strategies. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2879262/
* "Distinct foraging strategies generated by single-action behavioural flexibility" https://www.biorxiv.org/content/10.1101/2021.03.09.434602v2....
* Marine bacteria changing behavior around resource rich locations to improve resource gathering. https://www.sciencedaily.com/releases/2020/09/200925113346.h...
* Description of bacteria predators, and complex hunting behavior (scout and gather) https://www.llnl.gov/news/predatory-bacteria-bite-their-own
* Description of properties of bacteria colonies and territory expansion https://nbi.ku.dk/english/news/news20/bacteria-colonies-of-b...
The vast majority of the mass of life on this planet does not participate in all (and probably in most cases any) of the behavior you describe. Stromatolites, various parasites and symbiotes, most bacteria, etc do little to none of that.
Importing resources from other planets or other extraterrestrial bodies can and would better be done by robots than humans.