The fascination of the Apple II in 5th grade math lab, getting a PC when they first came out, and the arcane 8" thick code dump print outs my VM programmer father brought home drove me to learn to code. I dont think what drove us exists any more.
An area of fascination that does exist is computer and network security (ie. penetrating and defending syatems). What kid wouldnt be interested in that?
It's the angle I plan to use to get my son interested in coding when he gets a little older.