How to use "mechanically" in a sentence

Sentences

She arrived early and didn't have to wait in line, so in a few minutes, she was stretching her legs and then running mechanically, left-foot right-foot, on the machine.

And we also learned that the Martians were so mechanically clever that they did not need to use their bodies very much.