We can yell at EA, Activision, etc. all we want, but the market is really to blame. You make a single player masterpiece and sell millions, but some cheap game with microtransactions generates 10x the revenue at 1/50th the cost. The people out there who rationalize dumping 100s to 1000s of dollars into a single title because they keep buying loot boxes encourage this behavior.
I'm sad for the industry as an artform, but I cynically get it as a business move.