Toyota reported record monthly sales as it was able to benefit from a decision to stockpile semiconductor chips ahead of a global shortage.