.com is operated by just a single registry, Verisign, which has just as much of a monopoly over .com as Google has over .dev.
The difference is that Verisign's registry agreement with ICANN prohibits this kind of pricing shenanigans whereas Google's does not. Expect Verisign to try to renegotiate this when their agreement is up for renewal.