Apple acquires permit to test autonomous vehicles in California