This is already worked in through mathematics, it is its own mathematical field. We can optimize packaging through formulas that are very fast and accurate. No need to train a AI for that. Especially not for space flight, AI are prone to hallucinations that is not something you want anywhere near any space mission that requires precision and predictability. I believe Johannes Kepler started this field in the 1600s, it is not something new. It is definitely a complex problem, but not new and not unheard of. Amazon is not exactly inventing something new and amazing here…
I do it already at work! Windows runs great in qemu.
There is a few things that we still need to move away from, app wise, that requires windows. But already I solve 95% of my work tasks in Linux. We will soon move all terminal computers in our production lines to Foss software and new stations run Ubuntu. Linux runs lighter and cheaper and easier to maintain and update and replace. We are super happy about it.
Best thing is, it will only get better!