Xiaomi Corp. showed off a new SUV it plans to sell around the summer of 2025, intensifying an effort to take on Tesla Inc.