There is absolutely no such thing as extracting more energy out of anything compared to the energy input. Every time energy is transformed it loses efficiency. Period.
Now there are times when there are benefits, but they come at a efficiency expense.
The only 'free' energy comes about when we waste energy on purpose. A good example would be the brakes or shock absorbers on your car. The shock absorbers absorb energy every bump you hit for your comfort. If that energy can be transformed into a hydraulic pumping system instead it could then be used to generate energy. That's free in today's world.