The real isn't isn't who owns the car or the software, it's the always-connected online services that will be required for autonomous operation.
The ride sharing limitations will almost certainly be covered under the TOS for those services. If you don't agree, the car is still yours but they can cut your services access at any time.
The good news is that competition will eventually solve this problem. Tesla is far from having a monopoly on self driving cars.