How would pony beads be manufactured?

Im curious and new to the manufacturing world. Im curious how would one efficiently make these beads?

3D Printing? Seems not efficient at all but im not sure what type of machinery would even be used.