Ciena Corporation (NYSE: CIEN) shares have weakened as investors weigh strong artificial-intelligence and cloud-networking demand against elevated expectations, supply constraints and uncertainty ahead of the company’s upcoming third-quarter earnings report.