The AI startup's biggest expense was research and development, which incurred $6.7 billion in costs during the first half of 2025.