EU, China agrees on investment deal to grant better access to each other's markets