In face of increased competition and stagnating market share, Mozilla will be integrating AI features into Firefox.