3D Programming of Patterned Heterogeneous Interface for 4D Smart Robotics