CrowdStrike and Palo Alto Networks posted record quarters as demand for AI-driven cybersecurity tools accelerated, though sharp stock gains have raised investor expectations and scrutiny.