It is extremely unlikely that anyone coming out of school with a technical degree will go into one area and stay there. Today's students have to look forward to the excitement of probably having three or four careers.
With engineering, I view this year's failure as next year's opportunity to try it again. Failures are not something to be avoided. You want to have them happen as quickly as you can so you can make progress rapidly.
I remember the difficulty we had in the beginning replacing magnetic cores in memories and eventually we had both cost and performance advantages. But it wasn't at all clear in the beginning.
The technology at the leading edge changes so rapidly that you have to keep current after you get out of school. I think probably the most important thing is having good fundamentals.