It's a lot of work and time, and most companies don't particularly need PhDs. Maybe a PhD gets a boost in pay starting out, but 5 years of experience cancels out most of the benefit. I suppose PhDs can get a shortcut into Prinicple or Senior roles, so there's some tangible benefit.
On the other hand, if a company is hiring PhDs and doing research, I feel those jobs are most likely to get cut if business is going poorly.