Let me try to say the absolute minimum for you all coffee haters to understand how such machines came to be.
Coffee beans contain an addictive substance called caffeine.
The goal of coffee making is to extract the caffeine and other substances into water so you can taste them and put them into your body.
There are many different techniques to acheive this extraction.
All of them require the beans to be roasted and ground.
Then water must come into contact with the ground coffee.
Many of the simple methods of making coffee (like pour over) are quite slow and their yield is weak (little stuff extracted per volume of water).
At some point italians invented a better method that is fast and has a high yield: the grind is pressed into a compact puck and hot water (around 92° C) is forced through it at high pressure (around 9 bars). It's called expresso.
One dose of expresso is 8 grams of beans used to yield 25 ml of coffee in 25 seconds.
First machines were manual: the barista had to pull a lever to create the pressure and force the hot water from a boiler through the coffee.
Then automatic machines came along: the barista uses a grinder to crush the beans into a small basket (the filter) then he presses the grind into a puck with a tamper, the filter is placed into the coffee machine (it is held with a portafilter), the machine forces the water through the filter and the coffee drips into the cup, the barista removes the portafilter and discards the used coffee puck.
This process is the absoute golden standard of expresso.
The problem is that it is pretty complicated: two separate machines are required (the grinder and the coffee machine) and a lot of skill. There are many variables and things to tweak and people get pretty OCD about it (see r/coffee).
Here is a video of the whole process:
https://www.youtube.com/watch?v=o3oSlZSXHog
In a typical office no one has the skill or the patience to operate a traditionnal expresso machine and this is how the super-automatics came to be. They try to automate everything with one device. They have two inputs, beans and water and two outputs, the drinks and the used coffee pucks. It sounds simple but it's actually a huge engineering challenge.
Here's everything the machine has to do successfully in order to produce drinks:
- grind the beans into the brew unit (the grind size and the total mass of coffee should be consistent at all times)
- the brew unit must compress the grind (ideally with a force between 7 and 15 kg)
- water at 92 °C must be pumped at 9 bars of pressure through the whole surface of the coffee puck
- and the trickiest part of all: the brew unit must discard all the mess, clean and dry the brew filter so that another drink can be made
hence everything you see in that machine.