A ballot of Amazon workers for union recognition has failed to reach a majority, the GMB has announced.