What incentive does an institution have to hire expensive research staff instead of having PhD students fill all those roles?
A PhD is where you learn to do research to a doctoral standard.

A research job is where you apply what you've learnt.

These things are different things. They are not the same thing.

It's like why you see a qualified doctor instead of an undergraduate studying medicine.