Chegg slashes 45% of workforce, blames 'new realities of AI'