I wonder what the motivation is. Surely is not to do something good.
Tax deductions by donating money to a non-profit?
A try to get a grasp on one programming language with a bright future so they could profit out of it later?
A PR move?
An attempt to get on the good side of Mozilla so they get partnership for AI integration in Firefox?