Yeah compared to the M&P's stellar launch and all the problems with the Glock gen4's (including TLG's), somehow it's the XD that has the poor track record? Sure thing, internet.
Whenever someone asks me what gun they should get, I recommend any of the modern polymer 9mm pistols: G19, XD9, or the M&P9, because they all work great. Pick the one that fits your hand the best.
The only place the XD is hated is online. But guess what, not everyone likes the Glock grip angle or the M&P trigger. Crazy, I know.