Heterogeneous Firm Responses to Technological Change: Market Structure and Long-Run Dynamics