I don't think the number is based on any technical limitation.
It could be a number based on usage. Say 99.9% of the users use less than 5M files. So my pruning 0.1% of the user base they are getting rid of half the number of files, saving X millions of dollars in cost.
Nobody wants to cater to the difficult users that are doing stuff like this.