Being married to a golf course manager with over 30 years in the industry I feel I can comment on the golf course aspect of this. Starting with the disclaimer that there are good and bad in all sectors and practices vary hugely not only by country but regionally too, some of the projects my husband has been involved in at his course, which is a private member club not council owned, in the last 10 years include:
Working with the woodland Trust to plant trees to replace those lost due to disease, high winds or removed as part of active tree management because they were in areas that had become too overgrown to be safely accessed.
Working with Scottish Natural Heritage to install bat boxes
Creating new Ponds to encourage amphibians and water birds
Working with a local conservation group to trap grey squirrels to preserve a small population of endangered red squirrels
Installing bird boxes
Using Natural turf treatments made from compost juices instead of chemicals where they can
Using irrigation only when needed (not a major issue in rainy Scotland!)
Leaving felled trees in situ to create habits for insects and small animals
He keeps a note of wildlife seen on course and so far this year they have had: fallow deer, red and grey squirrels, herons, foxes, ducks, frogs and toads, newts, woodpeckers, pond dippers, bats, numerous small birds, hares and rabbits, owls, buzzards and kestrels....and rabbits which are managed through shooting by a registered pest control contractor only if they become a problem but the raptors and foxes do a good job keep the numbers down. To be honest, more damaged was caused to the course by members of the public using it for recreation during lockdowns than any animals could possibly do, including dogs digging up turf, quads ridden across the course and an ice hockey team who decided the biggest green covered in 3 inches of ice was fair game fir then to practice on....all of which has required the use of more manpower, mechanical equipment and chemicals to fix. This is a course on the outskirts of a city next to a housing estate.
Grants are available to courses who wish to increases biodiversity and improve their environmental practice, be that through creating habits or using Reed bed systems to clean waste water so it can be reused. Another course locally is heavily involved in maintaining the sand dunes next to their land in conjunction with various groups since they are an area of scientific interest.
I work in agriculture and from my experience would counter argue that modern farming is in many cases worse than either golf or hunting. Lip service is paid to the governing schemes which relate to environmental practices but aside from a small.% of farmers who have bought into the standards completely, in most cases the absolute minimum to meet the required standard is done to tick a box with little active or enthusiastic input.