Toolmaking
CNC starts with a piece of metal, sometimes called a "billet" (lump of metal) which is put into a fairly standard machine tool, that has had position sensing and motors on the control knobs installed. This is basically just a robot machinist. You use a rotating cutting tool to cut away all the metal that isn't your crank.