The clearest confirmed fitment I found for BMW part 51468493168 is:
• 2019 BMW X7 xDrive40i (G07) 
• 2019 BMW X7 xDrive50i (G07) 
• 2020 BMW X7 xDrive40i (G07) 
• 2020 BMW X7 xDrive50i (G07) 
• 2020 BMW X7 M50i (G07) 
• 2021 BMW X7 xDrive40i (G07) 
• 2021 BMW X7 M50i (G07) 
• 2022 BMW X7 xDrive40i (G07) 
• 2022 BMW X7 M50i (G07) 
That fitment comes from a BMW parts catalog page whose vehicle-fitment section lists 2019-2022 BMW X7 M50i (G07), xDrive40i (G07), xDrive50i (G07). 
One complication: another BMW dealer listing ties this same part number to the BMW Alpina XB7. That means XB7 may also use this part, but I would not advertise XB7 as fully confirmed unless the buyer verifies by VIN or part number match on their car. 
Fits 2019-2022 BMW X7 G07 xDrive40i, xDrive50i, and M50i. Verify by VIN or part number 51468493168.
Genuine BMW X7 G07 rear parcel shelf / rear window shelf, OEM part 51468493168, in Night Blue. BMW parts listings identify this part as the Rear Window Shelf / Shelf for the X7. 
• Factory-fit cargo-area shelf for 2019-2022 BMW X7 applications, with BMW catalog fitment tied to G07 X7 models and Night Blue interior trim. 
• Hard parcel-shelf design gives the rear cargo area a clean OEM finish while helping cover luggage and loose items below the window line.
• X7 trim insert is built into the upper panel, giving it the correct factory look for the model.
• Night Blue finish matches BMW’s Night Blue interior theme, which BMW catalogs under this exact part number. 
• Underside has the full factory-style felted backing, which helps the panel look finished from both sides and match the surrounding cargo trim.
• Side mounting points and locating pins are installed on the panel, so the main attachment hardware shown is already in place.
• Integrated underside pull strap is present for lifting and handling the shelf.
• Original BMW production labels are still attached, including the G07 parcel shelf nightblue identification label and BMW part coding visible in the photos.
• Complete shelf assembly shown in the photos is included, with the molded panel, X7 trim insert, felt backing, side mount structures, and pull strap all present.
• Strong replacement for a missing or damaged factory cargo shelf, and a useful OEM piece for restoring the rear load area with the correct BMW fit and finish.