But a photon is massless, therefore, by the definition of a perpetual motion machine which is energy out is greater than energy in, a photon cannot be a perpetual machine. To change the energy of the system, work must be done; to do work, a force must be applied, forget the distance the force must move through, there is no such thing as a force on a photon.
But I am arguing from my strictly classical, undergraduate knowledge of physics. Come to think of it, that inspires a question rooted in my vague understanding of modern physics; since light is bent in a gravity field, that bending suggest to me a component of acceleration perpendicular to the linear trajectory of the light beam. Does that mean that light truly interacts with a g field? If a g field causes an acceleration, that implies that a photon must have a gravitational mass to experience the force of gravity causing this acceleration. So is this true? Do photons truly have a gravitational mass to explain their curving in g fields? Sorry, I didn't mean to end my answer to the post with a question, but it just came up as I was typing. An answer would be much appreciated, thanks.