This looks awfully like the
Alfine CT-S500 chain tensioner used with a Nexus (or old Alfine) cassette joint (
source):
But it looks like there's a derailleur hanger connecting it to the frame, which might not fit on my bike.
Or a
Blackspire Stinger, or even a chainstay-mounted tensioner: