Be T-shaped: a jack of all trades, but a master of some.
The most proficient, well-compensated engineers I've worked with had deep technical knowledge in their respective domains, but were reasonably well-skilled in other areas(some non-technical), and could easily spool up to basic proficiency quickly.
Learning how to learn, and apply it well, seems to be the underlying meta-skill with the most value.