That spending spree will lift some AI stocks while generating fierce headwinds for others.