Molecular machines could treat fungal infections