Porsche has secured the jobs of its 8,600-strong German workforce for another five years in return for a pledge from unions to boost productivity more than 6% annually.