A Beijing court found Tesla had misrepresented the condition of the car bought by Han Chao for 379,700 yuan ($58,700) on the automaker’s official used-car platform.