China's grand experiment to turn Pakistan into a testing ground for its military hardware has backfired, and spectacularly so.