This fully autonomous Lego car factory allows you to design a car before it rolls off the line. The tech behind it is really cool.
Daniele Benedettelli built the assembly line using Lego as a way to show what Eclipse Papyrus (programming language used in automation processes) can do. It contains more than 5,000 Lego parts, custom made LED status lights, and some servos to keep it moving. More tech specs can be found here.
The cars fit a minifig and are customizable. Each has four pre-assembled components – chassis, front, back and roof – and the cart designer can choose which of three colors goes where, with a possible 36 combos. It supports pipelining, so you can make multiple cars at once.
And when your cars are built, you can use this automated warehouse to store them. This build is by TechBricks and uses the Mindstorms EV3 platform and is programmed in C++/RobotC.