Machinery
Из словаря Merriam-Webster’s Advanced Learner’s Dictionary (En-En)
machinery /m???i?n?ri/noun [noncount]
1: machines of a particular kind or machines in general
Some of the mill’s machinery was damaged in the fire.
a piece of farm machinery
2: the working parts of a machine
Something was clogging the machinery.
3: an organization or system by which something is done
the machinery of government
The United Nations has set up machinery for mediation.
machinery — group of large machines or the parts of a machine which make it work- Cambridge Advanced Learners Dictionary 3th Ed.
You can use machinery to refer to machines in general, or machines that are used in a factory or on a farm — Collins COBUILD 5.
There____a lot of machinery in the shop and skilled workers operated ____.
A. was, them
B. were, them
C. were, it
D. was, it
Так как слово machinery в нашем примере (первый пропуск) неисчисляемое существительное (refers to machines in general), исключим варианты В и С. Выбираем между А и D.
Что имеется в виду под тем, что skilled workers operated? Очевидно, не собирательное существительное. Выбираем B.
There was a lot of machinery in the shop and skilled workers operated them.
Сложность выбора заключается в том, что местоимение может восприниматься как заместитель собирательного существительного по числу — was/it. Как видите, вариант с it неверный.