What began as a military failure has become a catalyst for one of the biggest transformations in the country’s technology ecosystem in decades.