Chief Executive Elon Musk unveiled on Monday a microchip for self-driving vehicles that the electric car company hopes will give Tesla Inc an edge over rivals.