This isn't even addressing the actual problem.
The only team that has a legitimately unfair competitive advantage due to being able to pay absurd amounts to retain their players is the Golden State Warriors. Why? Because of the 2016 cap spike happening all at once. It enabled them to get Durant, who they then flipped for D'Angelo Russell's contract, who they then flipped for Andrew Wiggins' contract.
As an aside, the players union was dumb to insist that happened all in one offseason instead of over several. The 2016 free agents got all the money, and the free agents in subsequent years got absolutely screwed.