This would imply that Uber/Lyft drivers on average are losing money by being on the service, which is obviously not the case. Having a large fleet of driverless taxis, even if you have to maintain them yourself, will be a very profitable business. There are other potential revenue sources as well, like licensing the tech to car manufacturers.