Sales of Tesla's China-made electric vehicles rose by nearly 40% in May amid a broader recovery in the country's competitive market.