Apple granted autonomous car testing permit in California