So, If I read this correctly, newInventoryItem commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object, which triggers newInventoryItem, which commits an inventory object.
In any case, it's probably not a good idea to commit with events in a Before commit microflow.
Your Commit action triggers the Before Commit event which calls the microflow again adding it to the stack. You got an infinite loop.