Hm, it does sound alarming, doesn't it.
Here's a clue: they share this same thing with bails (as in the game of cricket), a debacle, a tropical American palm, and the many- many-times great-granny of the octopus.
What is it? Well, it's the Greek word, baktron, which means rod or staff.
It's easy to see what a baguette has to do with a staff because it is, well, staff-shaped. Some bacteria are, too, though they're so small you can't actually see them. Appropriately enough, the word bacteria comes from the diminuative of baktron, baktērion, which means little staff.
well, you can see where people are coming from with that one.
Nothing would seem less staff-like than an octopus, but the fossil of the shell of the bactrites:
makes all quite clear.
Palm trees are of course all staff-like. This is the bactris.