Regarding question 2: In this particular example, no. Both the function and the operation are of this machine. In general, however, it is possible to have a prepositional phrase that applies only to the second of two nouns.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.