A reliable 11.5-sec i/c-powered car isn't exactly cheap, either. Plus, that electric motor will likely make rated power after 10,000+ hours - unlike your typical 11.5-sec car engine. And then there's the fuel costs. The electrical energy required for a day of racing is much less expensive than the race fuel required to do the same amount of work. The cost of battery pack replacement is high, but the dramatic increase in TBO & the significant decrease in energy cost will likely negate the cost of pack replacement over time. Bonus - you don't have to worry about missing a shift & taking out a gear, since there's no transmission.
Sure - electrics today are more expensive initially; but think about this: i/c technology has had over 100 years to mature; while performance electrics have only been around for a short time. If the same amount of money & time had been spent on maturing e-powered cars, the situation would likely be reversed.