That is like trying to compare apples to wrenches to coffee to blow up dolls.
Each of those is pretty much at the top level of "what they do" and trying to draw a fair and direct comparison is going to be tough.
F1 cars are almost science fiction with how advanced they are. When it comes to open wheel racing they are pretty much the top dog.
Top Fuel cars are a mixture of brute force and finesse. Trying to get 8,000hp down the track as quick as possible, while keeping the car alive is not easy, just watch any race and you will see.
Outlaw Sprint Cars are the best thing that goes fast and turns left, period. They are about like top fuel car that turns left. Watch any in car with those guys and they are always up on the wheel.
LeMans cars are just cool as fuck. You have to build something that goes fast, handles like it’s on rails AND has to run for 24 hours. Expensive, Fast, and Reliable is the motto for those cars.