South Africa's Oscar Pistorius has failed in his bid to become the first amputee sprinter to run individually at the Olympics.