Volkswagen AG bought a stake in battery startup QuantumScape Corp. with the aim of developing technology that can more than triple the range of its electric cars, according to people familiar with the matter. VW is considering using the energy-storage technology, which is fireproof, for vehicles from the namesake brand as well as Porsche and Audi, said the people, who asked not to be identified because the plans are private.