Samsung to adopt chipmaking tech used by rival amid AI chip supply race