Engineers have invented an ink made from pulverized magnets that could self-repair torn fabrics and broken devices