Most of the companies behind Valkey were writing significant code for Redis. It was certainly not a case of them paying nothing.
Valkey has some of the (formerly) most prolific Redis contributors for the era in which it was forked.