What's the general consensus of the lifetime on the electronic components on these AF cameras? I assume they're better than Minolta XD era.
It will depend on the electronic components.
Candidates for problems after decades are electrolytic capacitors, which can leak.
ICs, diodes, transistors, resistors work without wear.
Heat is a factor that causes components to age if they are outside the intended specification, e.g. a camera under the car window in the sun.
Humidity causes corrosion.
Since low currents at low voltages usually flow in camera circuits, there should be no temperature problems here due to high power losses, as with devices with mains voltage, for example. But I have also seen a power transistor in the F4, for example, which is dimensioned for higher loads.
All in all, I consider the electronics of the 80s SLRs to be robust and durable; at least I have not yet seen a broken electronic component, apart from defective electrolytic capacitors.
Issues usually arise with contact problems on switches due to dirt or oxidation, corrosion due to leaking battery electrolyte, damage caused by force or water, of course excluded.
But these are just my observations. Repair shops with much more experience repairing various cameras can say more about this.
Of course, the dimensioning of a circuit also plays a role, so that it can withstand the loads and the components are of good quality and sufficiently protected by the housing and against mechanical forces. This shows the great engineering achievements of Japan, when SLRs that were previously used intensively are still working after 40 years.