I think it is likely it was the other way around. MongoDB caught wind of what AWS was about to release and changed the license.
> Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 API by emulating the responses that a MongoDB client expects from a MongoDB server