Yes, but at the very least, Amazon would need to contribute their code back, so it's not a complete loss.
Also, Amazon were already contributing code back when these companies changed their licenses, the companies don't care about code contributions, just money.