A ban on US investment in the Chinese smartphone maker Xiaomi has been lifted, with the US Defence Department apparently unwilling to defend a Trump era action that claimed the company had ties to the Chinese military.