All of these variables can be determined by a human and then programmed into a machine. We're talking about easily programmable things, not brain surgery.
Yes, we can. But every bean is different, even a different roasting profile means it needs to be calibrated and adjusted differently. It's not a simple matrix of input parameters and bean (yet).
It seems to me a machine would be better at keeping track of the difference. How many Baristas lookup a bean/roasting-profile/table to see what temp to extract at?
They don't have to. It's something you taste. Pull a shot, calibrate, rinse and repeat until it is as it should be.