China woos foreign companies while serving its own agenda