For this, http://s1.guide-images.ifixit.net/igi/SiKdJKFBvUOZvqYK.huge, they either put it on end and machined the inside with a big, long endmill, then followed with some smaller ones to get those inside radii... or came down through the big round hole with an upside down T-shaped cutter and hogged out the material with underside cuts. Then cut out those little features near the end opening, somehow I don't know, and then detail the mounting features on the disk opening and cut the slot for the CD and laser cut the the little eject pin next to it.
Then they sandblast them, probably robotically b/c its so perfect, and then hard anodized.
I always figured that Apple designed the process and others merely implement that, they don’t seem like the kind of company that works with many ready made parts.