Well, it wasn’t a 787. It was a 767 and stories like this demonstrate how stupid the media and most readers can be.
Boeing’s problems (and they are severe) do not affect planes that have been out of production (like the 767).
They're still in production -- cargo and tanker versions. And they have the same landing gear.
That said, it is very unlikely this was some kind of factory issue, though FedEx has received some new 767s in recent years. I don't know when this one was manufactured.