Tesla’s stock was on track to rise for the 11th straight session as the company won praise for its move to ink a charging agreement with rival General Motors.