The US stands to lead in robotics in the factory. Google and others are investing millions to boost productivity.