Text this: Theory of machine and labor productivity