The typical transmission will get through the warranty period without fluid changes.
If you care about what happens later, periodic fluid changes will extend the life.
Every 30-60,000 miles, drain & refill, not flush, is a good rule of thumb for a Toyota.