The Evolution of AI Image Generation: More Than Just Pretty Pictures