Your question presupposes new algorithms must come from someone toiling. But AI will be just as capable at developing new algorithms as ripping off the existing ones, surely?