8 hours of ditch digging with an excavator does not represent a total of 8 hours labour time — there is a vast amount of labour embodied in the machine: its design, the extraction of the materials, the construction, the transportation, the extraction, refinement and transportation of the fuel and so on.
Thanks! I guess my first example wasn't very well thought out. (It probably still works, though: a mini-excavator costs about as much per day as five humans with shovels earning minimum wage, and should be way more efficient at tasks like digging up asphalt.) Maybe a better demonstration would be digging with shovels vs spoons.
If we consider the end product to be "the hole that is dug," then its value is composed of all the labor that went into it. However, we have to consider 2 additional things:
1. Marx says that this must be the "socially necessary" labor; that is, the labor required on average to dig a hole. In an area where mini-excavators are available, this would probably be factored in as capital input for digging holes.
2. Marx says that value is constantly changing, such as due to changes in efficiency (mini-excavators).
As such, Marx would agree that there is a difference between using an excavator and using a bunch of people, whether they have shovels or spoons (and shovels vs spoons would be a difference in capital input, also). Furthermore, this increase in efficiency causes the value of the hole to decrease, which is why you'd probably just rent an excavator as opposed to having a bunch of people try and dig through asphalt.
To return to your example of Excel vs DNF, consider the following from Capital: "The value of a commodity, therefore, varies directly as the quantity, and inversely as the productiveness, of the labor incorporated in it." While spreadsheet programs and first person shooters are different commodities, I think we can all agree that DNF did not receive the most productive labor! On the other hand, the excavator both decreases the labor involved and increases productivity. Yes, the excavator had to be designed and built, which required labor, but even with that the labor savings over time for a reproducible capital input are greater than if we had every hole in the world being dug by groups of people.
In terms of "wealth creation," Marx notes that there is a difference between the value of a commodity in use (its utility) and the value of a commodity in trade, and that these values are generally not the same. That is why Marx talks about labor in the first place: if utility is not the connecting factor whereby different commodities are traded for one another, then what connects them? He claims that the only thing left outside of utility (a commodities physical properties) is the labor input involved.