Amazon and Microsoft are building internal teams to work on the compiler, so the budget of the foundation is not necessarily representative of the total financial investment by these companies.
I hope that Amazon and MS will not represent the majority of investment in Rust's development. The incentive structure for an independent foundation is favorable for a variety of reasons.