Insect size tracked with atmospheric oxygen levels, until hungry birds and bats hit the scene. Karen Hopkin reports