Repurposing a macromolecular machine: Architecture and evolution of the F7 chemosensory system