The electric carmaker’s revenues nearly doubled in the three months to 30 June compared with last year.