Fast fashion brand H&M’s chief technology officer is trying to make smart clothing mainstream, at a time when clothing manufacturers are struggling with complex supply chains and environmental pressure. Alan Boehme is examining how H&M’s clothes could monitor your heart rate or hydration levels, and how artificial intelligence could shrink H&M’s supply chain, potentially decreasing the company’s carbon footprint. In September, H&M couldn’t keep up with demand because of delays and disruptions of product flows. The Swedish company’s tech focus comes at a crucial time for the clothing industry, as people increasingly move from shopping at bricks-and-mortar stores to shopping...