"Anyone may arrange his affairs so that his taxes shall be as low as possible; he is not bound to choose that pattern which best pays the treasury. There is not even a patriotic duty to increase one's taxes. Over and over again the Courts have said that there is nothing sinister in so arranging affairs as to keep taxes as low as possible. Everyone does it, rich and poor alike and all do right, for nobody owes any public duty to pay more than the law demands."
It's the same with the mortgage interest deduction. You avoid some level of taxes as a homeowner by deducting your mortgage interest. Until you have a house and need to do so, it may seem like some weird loop-hole in the taxes, and when you have a house and use it, it's just something you do every year.
Don't expect a multi-national company worth hundreds of millions or billions to view the tax system as being as opaque and complicated as it seems to an individual. Their situation is vastly more complicated than an individuals, and their capability to navigate the tax system is vastly higher as well with multiple CPAs on staff or a large firm hired, so they can take advantage of those provisions put into the system specifically for them.