Investment boosts labor productivity because workers can produce more per hour when they have more and better equipment and better skills (capital deepening).
Better equipment and better skills boosts labor productivity.