It's all hypothetical for a transaction 5 years in the past. The future you propose is one where Epic is not actually the same: they have more liquid capital towards the mission their stakeholders decide, and less influence on Godot.
However, their stakeholders decided circa 2019/2020 that they want to influence the development of Godot and spent their money that way. Corporate donations aren't at a whim like us individuals who spend $3/mo on Wikipedia or a food pantry, it's considered by the executive team, calculated and green-lit by their accounting team.