I personally don't prefer either one over the other. CGI and animatronics both played equal parts and IMO should be still used in conjunction today.
CGI almost always has imperfections... That's why we know it's CGI. My parents (let me start by saying they probably don't even know how to get to 'My Computer') can even spot when it's used. Almost anyone can spot the imperfections in CGI simply because it's not real. It's digital and fake. CGI is limited only by one's artwork and imagination yet still almost always has some sort of imperfection which is why I think animatronics still should be a part of today's films.
Animatronics itself had it's own limitations too though which is why CGI is also needed. Take Jurassic Park for instance, anytime you could see the entire dinosaur, it was generally CGI, however, the closeups were mostly animatronics. It was done this way because animatronics' movements aren't as fluid as CGI yet has a more realistic feel to it so is used for closeup shots.
So IMO, neither one is better than the other. CGI should be used for the full picture and animatronics should be used for closeup shots like was done in Jurassic Park, a movie nearly 20 years old that I consider one of the most realistic looking movies.
I>Every single one of you
Have a nice day