Biophysics

A motor repeatedly transports cargo in one direction while using ATP. Why is this not perpetual motion?