BEIJING—It is said that Empress Dowager Cixi once dreamed of a pastry during the final decades of imperial China.