Researchers built autonomous robots the size of salt grains—with onboard computers, sensors, and motors that think and swim ...