Task-oriented Over-the-air Computation for Edge-device Co-inference with Balanced Classification Accuracy