chipmunk: I replaced right front wheel bearing(with hub) at 30K miles, after it started to hum at sideload during turn. As it was past 3 years warranty, i paid myself for part & replacement work. And don't have any intention to sue toyota for that or blame car model in general.
Your case described in OP sounds to me more like VERY bad luck, or that your dealership techs managed to botch something during replacement (as 2nd low-mileage TOB failure is way less statistically probable). I'd just double check when ordering replacement if it's new .. and possibly replace at other shop

. But witch hunt against toyobaru imho is excessive.