LAS VEGAS — Smart devices have a problem. Most of their magic requires that they connect to the internet, but the internet can be a dangerous place. Malware is everywhere, and when it infects connected gadgets, it can be a problem for everybody. But a new class of device is rising to combat this trend, and it’s on full display at CES 2017.