MEMS, in general, is a marvel in its own right. The idea of reusing the planar process that's used to make normal ICs, but to measure physical movement is quite an engineering hack.