Volkswagen has agreed a deal to buy the remaining 50.1% stake in Porsche it doesn't already own by the start…