Samsung Electronics has won a contract to supply memory chips to Volkswagen's Audi, after earlier signing a strategic partnership agreement with the automaker.