Optical drives haven't died but the majority of people just don't use them any more.
Five years ago everyone used discs to rip and burn music, to make back ups, to share photos etc. Nowadays we have very advanced 'free' social networking, cheap pen drives and hdd's, cloud file sharing, cloud...