Guys the bottom line for me is, can I readily get parts and take the motor apart if needed for repair? Yes or no ? Unless you're not handy or intimidated by doing so , then get the shimano and let the shops replace the entire unit if and when needed. If you want to play your just going to have to pay.
One of the things I like about a Yamaha branded bike, (not just the motor) is that Yamaha treats the ebikes exactly like a motorcycle where Everything is out in the open for working on your ride when needed. They have proper parts lists and anyone can march into any Yamaha dealer Worldwide and order parts. For myself that's a Huge selling point ! Good luck in whatever you choose, after all it's your coin !
Here's a first class professional example that Every manufacturer Should follow, actually should be legally obliged to follow !!
Thank you Yamaha

Cheers
View attachment 132354