Xiaomi is very competitive in the consumer electronics and in mobile phones. They are top in sales for mobile phones in many countries. There is an economic war with China that Trump started, and Biden continues.
The ban on Xiaomi is more of an attack as part of the economic war. The supposedly military ties due to a silly award were definitely shoehorned into this.