Shares of H&M tumbled as much as 8% on Thursday after the world’s second-largest listed fashion retailer posted a miss on operating profit.