U.S. startups focused on artificial intelligence saw a significant surge in funding in the first half of 2025, even as venture capital funds faced challenges in raising new capital. AI…