Tesla shares jump as profit tops Wall Street expectations