Although about 20 other companies, including Tesla, Google and Mercedes-Benz, have been granted such permits, Uber argued that the law didn’t apply to its own self-drive technology, reasoning that because a human was needed to take control if the robot driver failed, its cars were not autonomous under state law.