People whose intestines have smaller and less diverse bacterial populations are more prone to obesity and gut inflammation. Sophie Bushwick reports.