Nobody disputes that, but a) once it has been explained via a warning, why should responsibility remain with the manufacturer, and b) once someone of ordinary intelligence plays with the magnets and sees how strong they are then it is obvious. Neodymium magnets will pinch your fingertip painfully if you're not careful. If it can hurt your finger it could hurt other parts of your body.
Of course you can't prevent every idiot from doing something stupid. But some things are dangerous in an non-obvious way. It's pretty obvious you can choke on small objects. It's not obvious that eating one small magnet is fine, but eating a second one after a while can kill you.