SAN FRANCISCO — Automakers are looking toward a technology-driven future, one where they increasingly acknowledge that getting around may not require owning a car.

On Tuesday, two of the world’s largest automakers, Toyota and Volkswagen, said they were stepping up to invest in technology start-ups that are working to change the way people travel by car. Toyota said it had formed a partnership with and invested an undisclosed amount in Uber, the biggest ride-hailing company. Gett, the app popular in Europe, said it was working with Volkswagen, and the automaker was investing $300 million in the start-up.

The alliances are the latest in a string of pairings between technology companies and traditional automakers that are scrambling to reposition themselves. For decades, automakers had abided by the well-worn formula of making bigger and more powerful cars to fuel their growth.

But start-ups like Uber and Lyft and technology companies like Google and Tesla have disrupted that cadence. These companies, mostly located in Silicon Valley, have in the last few years sped the development of self-driving cars, electric vehicles and ride services.