Paleontologists have concluded that the T-Rex ate other T-Rexes. The cannibalism was a result of scavenging and not hunting although researchers aren't 100% sure.
They note that the T-Rex was the only large, late Cretaceous carnivore in Western North America and would be capable of making big bites.
From the PLoS One study "Cannibalism in Tyrannosaurus rex" by Nicholas R. Longrich (Yale), John R. Horner (Montana State), Gregory M. Erickson (Florida State), and Philip J. Currie (University of Alberta):
We argue that these traces result from feeding, rather than intraspecific combat [...] fighting animals would be expected to inflict wounds to the head or vulnerable areas such as the neck and flanks, and not the feet or arms [...T]he absence of healing in any of these specimens is also consistent with the hypothesis that the tooth marks were made on carcasses.
Tyrannosaurus therefore seems to have been an indiscriminate and opportunistic feeder, feeding not only on herbivorous dinosaurs, but also on members of its own species. The traces described here likely result from opportunistic scavenging, and were probably made after most of the flesh and organs had been removed from the carcass. Presumably, an animal feeding on a fresh kill would instead be expected to focus on viscera and large muscle masses, which would provide more food with less effort. For feet, toes, and arms to be an appealing source of food, most of the carcass must already have been defleshed. [...] While we interpret these traces as the results of scavenging, we cannot entirely rule out the possibility that these traces result from an individual slowly consuming a kill over an extended period of time. It does seem improbable that Tyrannosaurus routinely hunted full-grown members of its own species; however, it is possible that intraspecific combat led to casualties, with the dead becoming a convenient source of food for the victors. Still, compelling evidence for predation in Tyrannosaurus remains elusive.
Wired has published a very nice feature on Kip Thorne and the science behind Chris Nolan's Interstellar. Kip Thorne is one of the world's most celebrated theoretical physicists. He and Nolan worked together to ensure depictions of scientific happenings in the film are as accurate as possible. Read more