Mozilla is "rewiring" itself to put AI at the centre of everything: what it builds, why it builds it, and how it makes money.