Tesla has parlayed early-mover advantage into a mile-long lead over the auto industry in electric vehicle sales.