Planets may be altered to a more suitable resource via terraformation. The process is long and expensive, and is somewhat limited in what may be achieved, but its results can be extremely effective.
Planets with labor generation may terraform any other planet you control within the same territory. Select one, right click a planet you with to terraform, and choose Terraform. More distant planets require 50% more labor per system in-between to terraform.