Hard to say. LG in the past year or two has been getting good/better.
I even managed to crack my screen by being careless with pockets, concrete and not having a case. LG repaired the phone for $180+tax. I highly recommend it.
LG G5 pros:
- Resale value
- Modular phone add-on options
Moto G4 Plus pros:
- Easy to root (I heard it's impossible to root the LG G5 Canadian variant)
- Slightly cheaper unlock code (unlock Moto for $2-3, unlock LG for $4-5)
I think both have Nougat now. LG G5 will most likely get Android O, but Moto G4 Plus may or may not receive that update (Moto G3 not getting Nougat)
The LG G5 is more comparable to the Moto Z Play. The Moto G4 Plus would be a great phone but seems to be quite expensive for a glorified G series phone.
Sadly the promo on the Moto Z Play has run out past the holidays.