The algorithm recommends videos and has been a key issue in negotiations between Washington and Beijing.