Volkswagen will pay $10 billion to fix 2.0L TDI engines in the U.S. and invest roughly another $5 billion in green programs as part of a settlement in the diesel emissions case.