Apple receives permit in California to test self-driving cars: DMV