It is infinitely cheaper to develop things in-house or with smaller software shops, But then you won't be able to interface with your factory's material providers' system, or other Banks, etc because they only talk some protocol that is copyrighted/trade secret of those firms.
They are not fighting google. Google just happened to enter in the cross fire and have deep pockets to fire back! What oracle (and others like IBM behind the scenes, via DC Federal Circuit "lobbying") are fighting back, is the freedom of smaller software shops to provide their clients with fully compatible offerings to their money cows.
This is the only time someone conscious of freedom and privacy should be rooting for Google.