AI Literacy Assessment Revisited: A Task-Oriented Approach Aligned with Real-world Occupations