T. rex was as smart as a crocodile, not an ape, according to study debunking controversial intelligence findings