Palo Alto Networks said on Wednesday it would buy Israeli cybersecurity firm CyberArk Software for about $25 billion, deepening its push to become a one-stop shop for businesses seeking protection from rising AI-driven threats.