A modern Formula 1 car costs over $20 million to build, with almost 90% of the cost attributed to the engine.