A three-time Olympic gold medallist has traded her swimming career for a business suit to combat an environmental crisis.