A robot made of magnetic slime has been created by researchers at the Chinese University of Hong Kong.