Working for company X and having a substantial portion of your retirement plan in company X is simply exposing yourself to too much risk, because the company is both your employer and the source of your retirement income. So if something goes wrong, you lose both your job and your retirement plan.