When the product type is variable the stock option in the inventory tab will not work. For variable product there is stock manage option in the variation tab. Stock option of the inventory tab will work for simple product.
I am sorry for misunderstanding. We can not hide inventory tab. Because In the variation tab if you select manage stock option and leave the stock quantity box blank then it will get the parent stock quantity.