Tesla becomes world’s second most valuable carmaker