It's a Filament runout sensor adapter, for the transparent variant of this sensor: https://www.aliexpress.com/item/1005002258667465.html
The author marked this model as their own original creation.