@nony - Yeah, fuel pump prices are not cheap. You might be able to find aftermarket parts online if you want to go that route. However you raise a good point that both the fuel pump and the fuel filter can go bad.
One way to prevent the fuel filter from going bad too soon is not to let your car get too low on gas before filling it. Don’t wait until it gets near empty. If it’s almost empty, then the car is dredging up gunk from the bottom of the tank, and this will clog up the filter.
Then you have a situation that is similar in some sense to what happened with mechanical fuel pumps, where vapor bubbles were clogging things up as the article says. So fill up your car when it gets to about a quarter of a tank and you should be good.