Centralized, efficient mass production of goods to satisfy human needs does require some hierarchy, but under a society that has successfully abolished commodity production in favor of production for use these hierarchies would operate in a completely different way than they do now - not being born out of class antagonisms but rather out of necessity for coordination, never permanent but revocable and based on competency.
A project or a large production chain might have engineers, organizers - basically, whatever is necessary for the division of labor and for the end product to come into fruition. After all, how are you going to manufacture something like a phone without dividing up necessary tasks, having someone directing the production chain (which often consists of 1000+ people btw)?
Kropotkin and his anarcho-communism theory (which is the most developed anarchist theory afaik) does propose a solution as seen in the works such as "Fields, Factories, and Workshops" where the argument is essentially 'centralized production requires hierarchy, therefore we must have small localized production', or in other words, throw away hundreds of years of progress and return to medieval style-esque production which would greatly increase the total amount of work hours needed to produce goods to satisfy needs (assuming all the needed materials get supplied without issues), all for the sake of ideology and ghosts within the mind.