The U.S. labor board ruled against Whole Foods Market's objections to a landmark Philadelphia unionization vote, teeing up a likely yearslong legal battle over whether the Amazon.com Inc. grocery chain must collectively bargain with U.S. employees for the first time.