I'm working at a startup, about to go into college, and am worried about this myself -- I've already started feeling that boredom a little bit, even though I'm lucky to have a job this interesting at my age, and this is only my second real tech job. I'm planning on majoring in CS and MechE, which I think opens up some opportunities for combining coding and building physical things, which I hope I'll find more fulfilling.
I know I don't want to spend much of the rest of my life writing code that I don't really care about -- how can I avoid that?