Nodding donkey pumps
A pumpjack or nodding donkey is the overground drive for a submersible pump in a borehole. The technical term for the mechanism is a walking beam, "beam" as in a structural element. These pumps are typically used to bring up crude oil from oil wells.
Small pumpjack in Muzeum Przemysłu Naftowego i Gazowniczego