Because much of mozilla's funding is from a deal with google, that's why.
US$300 million annually. Approximately 90% of Mozilla's royalties revenue for 2014 was derived from this contract
From https://en.wikipedia.org/wiki/Mozilla_Foundation
A lot of money, but not enough to actually to actually do a lot. They keep cutting features their "customers" like. Why?
Because development is expensive.
Google props mozilla up to pretend they don't have a monopoly on the internet. Just enough money to barely keep up, not enough to truly stay competitive.
Mozilla wants to not rely on google money, so they are trying to expand their products. AI is overhyped, but still useful, and something worth investing in.