The 100-400mm is a versitile lens and is the affordable lens of choice for motorsport and airshow photographers. If you get a good copy then it's a good lens, unfortunately this lens suffers quite abit from poor Quality Control by canon has to be sent back for recalibration. In good light it takes very good images, but as the light falls off, it beings to struggle and performance drops. The primes are faster and better IQ's, but are fixed focal lengths and not as versitile, depends what focal length you constantly take images at. I've been very happy with the performance of my 300mm f4.
Sigma 100-300mm f4 is a good lens, sharp, an f-stop faster than the 100-400 through the range, but only 300mm, works ok with a 1.4x TC in good light and is a real gem of a lens for the $$$. Sigma's 120-300mm f2.8, fast autofocus, heavy (2.5kg), sharp, but does suffer with autofocusing problems when light conditions drop off especially for non motorsport subjects (aircraft) and build quality isn't great, problems with tripod mount and lens hood fixings, but still very much cheaper alternative than canon's 300mm f2.8, lens of choice.