Despite a concerted drive towards electric propulsion, General Motors is spending a small fortune developing a new V8 engine.