EU, China seal investment deal that may irk US