I know people who worked for US Steel back in the 70’s when they were selling their technology to Brazil and Taiwan. When asked whether that was smart their position was “well, eventually they will steal it anyway, so we may as well get something for it while we still can”.
Patents run out, then anybody can use the process sans royalties. May your dough up front or you won’t make any at all.....................