Sales of the Tesla Model 3 in China fell in July, as competition in the electric-vehicle space continues to heat up.