Make something move along predefined path

These would be two totally separate things.

The bird flying around a map would typically use a spline:

Whereas the oil pump would either be animation in blueprints or an animated skeletal mesh. BP would probably be fine for that, it's a simple enough movement: