Would they get cancer if they lived for 400 years? Maybe not either. Their immune systems are very good, better than ours.
(We humans don't really want to acknowledge that some other animals may have better immune systems, or any other systems, at their disposal.)
On the other end of the scale, mice die of cancer while not even three years old, because their immune systems are really bad at fighting cancer cells.
Cancer in mammals seems to be a function of failing immune systems rather than raw age in numbers. In some species, including us humans, weakening of the immune system goes hand in hand with aging. But in others it does not.