In my view, there will always be a range of different vehicles around, simply because we (sensibly) don't replace all trains at the same time. However, more standardisation would be better - if you look at the various recent aventra orders, really it would have been better if they were of fewer types. The 710s, 720s and 730s could all have been the same type technologically (with gangways), with different interiors as needed between LO and commuter operations. That way, it would be easier to move trains as needed between the current GA, C2C, LO, and LNWR operations. In a similar way to how the 387s have moved around as needed between GTR (Great Northern), GTR (southern and Gatwick Express), GWR, etc. The 170s have done similar moves around the country, both short term and long term.
If there's no further need for driver training because the trains are the same, things like strengthening one route when there is engineering work on another becomes much easier; For example, if the southern ECML is shut, trains from there could be used to strengthen all trains to maximum length on the MML. This is currently more difficult as the drivers that know the MML don't know the 80x, and drivers that know the 80x don't know the MML, so would require driver training to make possible (as has happened with Hull Trains and GC running on the ECML, and GWR running into Euston)
And attempting to maintain a "market" just forces you to buy trains you don't want to stop plant closures - see the current debacle with Derby.
It does seem hard to maintain a market for buying rolling stock, yes. I would however argue that the decision to order more 345s before the option was lost forever was the right one as the Elizabeth Line will need the extra trains.
Careful attention to specification to avoid ultra proprietary interfaces would avoid most of the lock in issues, and when you are contracting for upgrades to a fleet of 15,000+ vehicles it will be much easier to get people to put the effort in to service other people's products. And thats assuming you don't just develop the upgrade capability in house since you only have one fleet.
All very important points! lock-in should really be avoided, as should small microfleets.