General Motors is to provide Opel with EUR4bn of investment through 2016 in a sign of commitment to its European operations.