To be more clear and blunt, if your boss gets fired or leaves or if the whole group is fired, you can be on the street, with an advanced education and some recent, specialized experience (that likely didn't make big bucks for all concerned), and 40+ and with a tough time ever again holding a job relevant to your education, experience, interests, capabilities, or potential -- EVER.
My guess is that there are a lot of Ph.D. electronics engineers over 40 who are essentially unemployable at anything close to their past who want an electrician's license so they can install AC wiring in houses.
Maybe the best job they can get is to be a clerk in the electronics department at Wal-Mart.
Imagine, two guys just out of high school. They both mowed lawns as teenagers. Joe wants to continue that as a business, at first still living at home. Tom goes to college, continues, gets an electronics Ph.D., and gets a job in an electronics company.
Then they are both 35: Joe now has five lawn and garden crews, each with a late model, crew cab truck, a $5000 trailer with 4 riding mowers each worth $15,000. He has clients in upper class residential areas and small to medium commercial lots. He does weeding, soil testing, fertilizer applications, mowing, edging, shrubbery trimming, landscaping, etc. Tom's employer has a policy: By age 35, promoted into management or fired. Tom gets fired.
Joe is now much better off than Tom. Tom would do well to look for a job with Joe and rise to managing one of the crews, planning and marketing for higher end parts of the business, etc.
This is not a joke. Besides, it's not funny.