force
Simple machines using pulleys and levers, make the work easier by using mechanical advantage. The input force is less than the output, but spead over a larger distance and time. Other machines harness engines and motors, to take over the human input. The motors and engines need a separate source of energy.
Transformers inherently do not have frictional losses, but transformers and rotating machines perform completely different functions, so I'm not sure it is fair to compare them. Transformers are used to transform electric energy (the input is electric energy, and the output is electric energy). Rotating machines either take electric energy and convert it to mechanical/kinetic energy, or take kinetic energy and convert it to electric energy.
It takes the energy of heat.
The wasted energy due to friction in machines typically transforms into heat energy. This heat energy can lead to inefficiencies, wear and tear of components, and can ultimately reduce the overall performance of the machine.
compound machine
Wasted energy from machines often takes the form of heat generated as a byproduct of their operation. This heat is typically dissipated into the surrounding environment, leading to inefficiencies in the system. Reducing wasted energy can help improve the overall efficiency and performance of machines.
Solar energy, plants take in this energy through the chloroplast.
Kinectic energy -potential.energy-sound.energy
Catapults are simple machines for throwing things. They are comprised of levers, pulleys, and wheels and axles, which are all simple machines.
A simple machine will increase the total time effort must be exerted and decrease the amount of effort required in any given second. The law of conservation of energy still holds because it still take the same amount of energy to get the job done.
There are radios that are powered by winding a handle, also there are electric flashlights on the same principle There are also some older biking machines and olyptical machines that power their computers using the kinetic energy generated by the person exercising (you just can't stop and take breaks ;)
Plants, they take energy from the sun and convert it to simple sugars.