Aside: Don't invest too heavily in the same field you work in, because you don't want to lose your job and lose your investments at the same time.
Your time and expertise in these areas will give you better insight that most other investors will not have. See Warren Buffett's "circle of competence".
'Course, that invites some comparisons to equity in startups...