As the book gets faster it gains more kinetic energy and loses more potential energy. Just before it hits the floor all the gravitational potential energy has been converted to kinetic energy.
When work is done energy is transferred to the object and it gains gravitational potential energy. If the object falls from that height, the same amount of work would have to be done by the force ...