Labor scarcity, technology adoption and innovation