When does it no longer matter whether you got a PhD or MSc
A PhD is just vocational training for researchers, so if a company is not looking for a researcher then the PhD should be a disadvantage; you are not going to hire a carpenter if you want a plumber. 

In practice, it is a bit more complicated because the PhD has the undeserved stigma as "highest" level of education. So a PhD could still get an advantage even in situations where (s)he shouldn't. How fast this undeserved advantage decreases depends on many factors, e.g. country, industry. So there can be no single answer to your question.