Shaping the narrative: Public perceptions of AI