The Firefox maker hopes to expand its influence beyond web technology despite reduced revenue and dwindling browser usage.