I have pretty much retired (i.e. suck at interviews and can't deal with the nonsense in industry anymore and am not one for management) and am thinking of going to get a PhD just because these days, I like doing research for the hell of it. Someday I will finish writing my first paper.... If I ever get a full time job again, it will have to be some sort of researchy sort of thing, so a PhD will be useful to get past HR etc.
Your PhD program is what you make of it. If you are not interested in going into full time academia, the uni will still take your money if you look like a good candidate and can get through the program. I suppose you have to worry about competing with other students if you both are trying to get the one open position with a professor... So make sure you can pay your own way and then you won't be dependent on being a wage slave for the university and all that industry-lite crap.
But really, ask yourself over and over "why do I want a PhD?" until you're sure of the answer - it is 3+ years of your life doing only that and it could be brutal due to the workload etc.
Engineering/CS programs are probably more laid back or less 'political' (i.e. those scary stories) than humanities or other STEM degrees. I have noticed some interpersonal drama in some sense just hanging around the uni these last few years, e.g. students and dealing with them, a general sense of the academic environment. But I make sure to stay out of it.