Analyzing the chemistry of some ancient teeth has revealed what human ancestors were eating around 3 million years ago.