Metal microstructures for shock protection of MEMS