Presumably the reason that most test pilots in the US (and elsewhere) are from a military background is that the test pilot courses are so hugely expensive that it tends to be only the military that can run / afford them?
Therefore, I suspect that manufacturers employ mostly ex military test pilots because there are very few test pilots out there who are not from the services.
I stand to be corrected.
OH