They would finance the vehicles and pay for them with the revenue they produce. Rental cars are actually a pretty good case of this for conventional vehicles.
However that is pretty typical for industries other than software. Usually you need factories or raw materials or buildings or inventory. All of these things are expensive and depreciate. Software is the outlier.