All hardware can fail.
SSDs and hard drives can both have controller failures. For this reason you will see users swapping the board on a hard drive. This is not as easy to do on a SSD since the flash is part of the same board.
SSD flash wear-out takes a long time under normal use for most users.
The best thin I can recommend is to backup often. Be it a second hard drive or archival grade optical or even magnetic storage. Never trust that a drive(SSD or HDD or SSHD) will not fail at some point.