The company’s victory deals a crushing blow to organized labor, which had hoped the time was ripe to start making inroads.