Good glue is stronger than wood, so I did the whole cabinet by just glueing.
This is true... but not the whole story. If you try to edge glue two piece of plywood together, for example, the glue joint will be very fragile. Similarly if you attempt to glue an end-grain piece of solid wood to another piece of wood, the joint will be be delicate. This is one of the reasons that people still make mortise and tenon joints, dovetails, etc.: because they allow face-to-face gluing, where the glue is strongest, rather than end-to-end or end-to-face gluing.
True. Although it's my understanding that end to end isn't as much the problem, as much as not having enough surface area or structural support to support the joint.
Dovetails, mortise/tenons, etc. add not only surface area for the glue, but also additional structural support (a good dovetail doesn't even need glue).
But that's neither here nor there. Use glue in this case, especially with MDF, plywood, or even regular softwood. They typically aren't 'solid' (too soft) enough for holding such shallow screws.
If you were to do a bolt clean through both pieces, then it'd be a different story and you could probably get away with not using glue for the shelf brackets, but then your machine would start to look like Frankenstein.... Hmmm.... that's an interesting idea....