Microelectromechanical thin film device of transition metal oxide, and manufacturing method thereof