The leaders of two tech giants are using nationalism to win back the governments of their respective home countries after stumbling over crypto launches.