I'd say AI is more like a 3D printer than an assembly line, and not just because both sound futuristic.
Assembly lines make one thing efficiently, by breaking down the complete task into small units such that no single person needs much training. This is basically what UNIX has been doing since at least the command line pipe operator was invented.
3D printers are general purpose and can kinda make anything in principle, but in practice the cheap ones are very limited while the one for building a rocket engine is priced at "hire a team of full-time engineers to build and maintain it", and in any case these are not a good choice for reliable mass production. This seems like a better, though still flawed, pattern match to AI.