Untethered soft robotic matter with passive control of shape morphing and propulsion