Other tech reviewers with the device posted similar photo evidence on Twitter:

Filters are commonly built into smartphone camera apps to let you take photos with cool colour and lighting effects. It seems like the combination of camera sensor and filter in this case has produced an unexpected X-ray mode. OnePlus has yet to comment if this was an Easter egg it has been waiting for people to find.