Tech Titans Soar on AI Boom, But Risks Loom Ahead