Except that's not the worst case. If the machine predicted you would pick A&B, then B contains nothing, so if you then only picked B (i.e. the machine's prediction was wrong), then you get zero. THAT'S the worst case. The question doesn't assume the machine's predictions are correct.