Shares of optical component makers are re-emerging as market momentum darlings, driven by rising confidence in artificial intelligence spending.