Credit rating agency Moody's has downgraded its senior unsecured long-term rating on Toyota.