Landscape maintenance crew.
The terraces were used to grow crops. So, yeah, you're basically looking at an urban rooftop farm, 16th-century version.
Machu Picchu from the east, at the Sun Gate on the original Inca trail.