The only relationship in the workplace is a working relationship, whether it's between a superior and a subordinate, or between coworkers. Whether that relationship is good or bad, it's all the same.
As for layoffs, the most widely circulated statement in the workplace is that after 35 years old, you are a "waste man"; 35% of middle-aged people are always the first to be laid off.