Uber to apply for a self-driving vehicle permit in California