Theoretical limits of energy extraction in active fluids