BRUSSELS— Cyberattacks on supermarket freezers and blood banks across Europe in recent days send a warning that when things everywhere connect to the internet, things everywhere are vulnerable to hackers. It is a weakness made worse by AI. Almost all new devices now come with an app or a web portal, controlling everything from lights and ovens to cars, pacemakers and power plants. The internet-of-things, or IoT, has made daily life more convenient while offering companies big savings through innovations including remote operation of industrial equipment and predicting when maintenance is needed. But constant remote access to physical equipment now…