This doesn't really fit with my experience. Most PhDs do not continue in the exact same topic they did their PhD in.
You hire a PhD if you need someone that can do research. It's a bonus if you find an exact match to your research area, but it is certainly not a strict expectation.