It is recommended to disable this part of Windows to avoid that data is collected and sent to Microsoft.
Quoting a public description of the Inventory Collector:
The Inventory Collector inventories applications, files, devices, and drivers on the system and sends the information to Microsoft. This information is used to help diagnose compatibility problems.