While Geico was investing in marketing and neglecting IT, its rival Progressive was investing in technology and gaining market share.