Why AI Needs GPUs and TPUs: The Hardware Behind LLMs