The limited regulatory approval is an early step toward Elon Musk’s goal of offering a Tesla self-driving taxi service.