That's one thing you should do. Because you don't seem to know it.Operating income ISN'T THE SAME as Net Income for the company. As the number for the whole company provides that. You can clearly google what is the difference between the two.
In 2017 when the TCJA was in acted, Microsoft made a loss. And not because their operation were making losses. That's why you never compare net profits if you want to know how the business operations are doing.
But I guess the whole business world isn't as smart as you.
The fact that you even think you have to tell it's not the same points out you don't come from a business background