Surprisingly, this is not an active pumpjack. It is a museum exhibit of old energy production equipment. There are a couple pictures of some of the equipment at https://commons.wikimedia.org/wiki/Category:Museums_in_Gillette,_Wyoming