For the Wheaties, rather than there being 'metal shards' in the cereal what is probably going on is that recipe was fortified with a nutritional powder that contained iron. The iron probably became ferromagnetized during the baking process, much like it did in when match heads in the second video were burned.