Cognex will acquire RealSense, a robotics and computer vision startup spun off from Intel, in a deal valued at $600 million.