They are caltrops
They are specifically placed to trip people who scan while they are walking, and who are therefore not paying attention to where they put their feet.