This same concern is constantly expressed on Lexus owner’s websites, really without qualification, and often by those who do not have a hybrid. As stated by Lord Voltemore the hybrid battery is designed to last the life of the vehicle. Who knows what that is except there are many original RX400’s running around perfectly normally with extremely high mileage’s. As always the key to longevity is regular servicing and maintenance and hybrid systems do require periodic adjustment to optimise performance.
Where there have been failures , it is not always the whole hybrid battery that fails, just some of the cells, and as mentioned here there are cheaper 3rd party operators now available at reasonable cost.
I have absolutely no problems owning a hybrid, at the same time it will be changed at 5 years or earlier, so always under warranty, but I also suspect it should hold its value well.