Living systems at all scales aggregate in large numbers for a variety of functions including mating, predation, and survival. The majority of such systems consist of unconnected individuals that collectively flock, school or swarm. However some aggregations involve physically entangled individuals, which can confer emergent mechanofunctional material properties to the collective. Here we study in laboratory experiments and rationalize in theoretical and robotic models the dynamics of physically entangled and motile selfassemblies of centimeter long California blackworms (L. Variegatus). Thousands of individual worms form braids with their long, slender and flexible bodies to make a three-dimensional, soft and shapeshifting 'blob'. The blob behaves as a living material capable of mitigating damage and assault from environmental stresses through dynamic shape transformations, including minimizing surface area for survival against desiccation and enabling transport (negative thermotaxis) from hazardous environments (like heat). We specifically focus on the locomotion of the blob to understand how an amorphous entangled ball of worms is able to break symmetry to move across a substrate. We hypothesize that the collective blob displays rudimentary differentiation of function across itself, which when combined with entanglement dynamics facilitates directed persistent blob locomotion. To test this, we develop robophysical blobs, which display emergent locomotion in the collective without sophisticated control or programming of any individual robot. The emergent dynamics of the living functional blob and robophysical model can inform the rational design of exciting new classes of adaptive mechanofunctional living materials and emergent swarm robotics.