In its ruling Thursday, the European Court of Justice found that the agreement known as Privacy Shield fails to adequately protect Europeans' data, largely because of U.S. surveillance programs.