Cognex will acquire RealSense for $500 million in cash to expand into the robotic perception market, which is estimated to reach $1.6 billion by 2030.