To enable track inventory for services option, please follow the below mentioned steps:
Step 1: Go to Settings
Step 2: Go to Preferences under General Settings >> Go to Products and Inventory >> Go to Inventory >> Services >> Enable >> Save Changes