Ford has held talks with electric vehicle maker Xiaomi over a partnership that would pave the way for Chinese carmakers to gain a foothold in the US, according to four people familiar with the talks.