The electric carmaker becomes the fifth such company to reach the milestone after its shares rise 12%.