'Magnetic memory' chip unveiled