Grass. When grass took over the world virtually at the same time there were less trees in between, so apes had to walk the grasslands in search of food. The best way to do this is to walk upright, stand tall looking out for predators, and it frees up our hands to have 5 fingers to hold stuff better with and work with our environment to build things.