When it comes to the artificial intelligence space, it is often a good idea to separate hype from reality. Cognex (CGNX) offers a way to play the space while having built-in diversification. The Massachusetts-based company makes and develops machine vision products that help automate production. These include software, sensors and industrial bar code readers. The firm has been leveraging artificial…