CrowdStrike, which has found gains from artificial intelligence in sales, recruiting and other areas, is cutting about 5% of its workforce.