Tesla’s sales in China rebounded in May after a short slump, a boost for the electric-vehicle maker as it looks to overcome its first major stumble in one of its most important markets.