$merge($spread($.inventory).{ $keys(): *.region })
or
$spread($.inventory).{ $keys(): *.region } ~> $merge
Playground link: https://jsonatastudio.com/playground/f9a27f8a