RAG Optimization Resource Misallocation: Generation-side contributes over 70% of performance gains but gets less than 13% of investment