It is, to say the least, interesting how it all works. Ferrari get almost $70m just for being Ferrari. Williams get a $10m heritage payout. Red Bull and Mercedes each get $35m bonuses, the former for signing the most recent bilateral agreement first and the latter for meeting its agreed-upon target of two championships. Ferrari, Mercedes, Red Bull, and McLaren all have separate deals for another bonus exceeding $30m. Is it all fair, probably not. But Sauber getting ~ $50m is still way more than any NASCAR team can ever hope to collect from NASCAR. Vast differences between how the two operate.
Plus, Formula E isn't at all only half as expensive as IndyCar. It's just propped up by factories - BMW, Audi, Nissan, Porsche, Mercedes, Ford, Jaguar all involved or soon to be involved. They're basically just big R&D efforts.