Removing invasive species is the activity that might best reduce habitat loss. Invasive species can disrupt local ecosystems, outcompeting native species for resources and leading to a decline in biodiversity. By removing invasive species, native plants and animals can thrive, helping to restore habitats and maintain ecological balance.
The other options could have mixed effects on habitat loss, and spreading out the human population may not necessarily address the underlying issue of habitat destruction, while draining wetlands can lead to further habitat loss. Replacing golf courses with farms may be beneficial in some contexts, but it can also create new challenges for wildlife.