US stocks ended lower, reversing earlier gains, on renewed uncertainty regarding the US stance on Chinese investments in American technology companies.