⟩ Accelerometers measure acceleration. How do you measure the moment of inertia?
You calculate it using your moment of inertia equations corresponding to the geometry of the object. There is no simple device I do not think that you can buy to just measure it.