The advanced machine of unknown origin mentioned in text from 440 BC may have helped to build the pyramids