US gymnast Simone Biles has withdrawn from the Tokyo Olympics saying she wants to prioritise her mental health.