Autonomous synthesis of metastable materials