There are 2 issues here, the refusal to trade and the availability of spare parts.
I will cover spare parts first.
I’m afraid that in the UKand the EU, there is no legislation that states that spare parts have to be available for any period of time.
They used to be a voluntary agreement for the manufacturers of electrical domestic appliances that spares will be available for 6 years but now although will do is use best endeavours.
Although not relevant perhaps to your business, here it is from (for example) the British Compressed Air Society Ltd although this of course applies to any kind of equipment, not just compressed their equipment.
With regard to the refusal to supply, there is no statutory requirement for any business to trade with another business provided the refusal to trade is not prompted by any kind of prejudice such as race, sex, religion et cetera.
A business is free to sell or not sell to whoever or which ever entity it wishes.
If it is just the refusal to supply you, there seems no reason why your customer could not buy the spares although the manufacturer of the equipment is not even obliged to supply them.
It might not do their reputation any good if they refuse to supply spares but that’s not a legal issue.
Can I clarify anything for you?
Please rate the service positive. It’s an important part of the process by which experts get paid.
We can still exchange emails. Best wishes.