Unfortunately, it's been some time, I cannot recollect how I managed to get it, and there's no earlier save that I can check. This also calls for a couple of useful features: (1) saves keep a full log that can aid with tracing issues; and (2) saves were numbered by turn instead of just autosave and previous autosave, it would be possible to go back and dig out the older saves.
If you see the report tab, it does say that planetary invasion is the most value tech that I have bought, but that does not make sense because I have not encountered any major civilization from whom I can trade it. So that's also a bug in the reporting.
Perhaps game devs can say what possibilities are counted to have a tech go into the "most valuable tech bought" report, and we can narrow down the possibilities from there.
In any case, this could be "fixed" by one of the following: (1) enable solders in both planetary mobilization or planetary invasion; (2) more generally, not allow any events, trading, etc. to give a tech that is not usable because some preceding tech has so far not been researched. The latter can lead to some interesting gameplay changes.