How do I DIY a spinning CD/DVD storage rack?
What you are looking for is "lazy susan hardware"



This will give you the spinning base you need to put your rotating shelves on.  I know Ace sells it, probably HD and Lowes do too.

A google search found a few examples of motorized lazy susan hardware - and some how to videos.