About 150 robotics companies have sprung up in Massachusetts as the state rivals Silicon Valley for industry supremacy.