The measurement has to be differential to be any accurate.
There are similar non-contact tilt sensors using a capsule filled with magnetic liquid inside LVDT-like coil.
Liquid tilt sensors can be pretty accurate, but their problem is that vibration or rotation kills the measurement.
There are also inclinometers based on the thermal convection of a gas or a liquid inside. They get the inclination from the temperature gradients along the flow.
Vladimir Vassilevsky DSP and Mixed Signal Design Consultant