If I need to grind wheat for bread every day, I could spend hours a day working hard to grind it by hand, or I could spend a month or so to build a very basic water wheel/grindstone and free up all that time.
The resultant bread is still bread either way. If someone chooses to spend all their time doing the old/inefficient type of grinding, by the labor theory of value, they should be able to demand more money for the result. But why pay more money for something that took more time to make than an equivalent product made with automation? We value bread for being tasty and filling, not by how much time went into making it that way.
Some level of labor is almost always required to get raw material into a valuable state, but the amount of labor does not determine the value. Labor just regulates supply; if something takes a lot of work to make, the supply will be lower than if it were easy to make, which affects value.