Taiwan has held annual military drills, meant to show off its readiness to defend itself against an attack from mainland China.