The correct option is A Energy is always being lost through friction.
First Law of Thermodynamics does apply to machines. However here in machines, friction is always present between machine parts, that causes heat to be dissipated due to this. Thus work is being done against friction, and in accordance with the First Law of Thermodynamics, constant input of energy is required to keep the machine output the same.