Designing sustainable AI: A deep dive into TPU efficiency and lifecycle emissions