Shimano seems to be very unreliable. However they all seem to have their faults.
Anecdotally too, when we took Mrs SSS previous Specialized Turbo Vado in for a firmware upgrade, it was around 18 months old. The advice we were given by the shop/mechanic was to sell the old one before the warranty expires, and buy a new one. This advice was given for any eBike, not just the Specialized one he was working on. (The mechanic owned a Giant which at the time had a failed motor and was back to manufacturer)
That way you always have an eBike in warranty.
We took his advice, sold it and bought a new one.