There are more than a million eprints at arXiv.
arXiv started in 1991 well before Creative Commons and Creative Commons licensing existed. The first generation of CC licenses were made public in December 2002.
Therefore, I think to answer this question, it is fair to take just a sample of the (massive!) total eprints, and a recent sample at that - little point in assessing eprints from 1991-2001.
I couldn't work out how to get this information myself from the various arXiv APIs so (full disclosure), I asked Erick Peirson on Twitter, who is currently lead software architect at arXiv, if he could get some data on this matter.
The rest of this answer is all his work tbh:
You can use the OAI-PMH endpoint provided by arXiv to query license information.
These are the totals for each submitting-author selected license that arXiv allows for eprints uploaded between 2015-01-01 through to 2018-07-30:
For that period, only 3.42% of eprint uploads choose a license that is not the default arxiv-license 1.0. Of the 13,920 that did not choose the default arxiv-license, 55% (7748) chose either CC BY 3.0 or CC BY 4.0, and only 6.16% (857) used CC BY-SA 3.0.
So to answer you question exactly "What percentage of arXiv preprints fall under the CC BY or CC BY-SA licenses?", of recent eprints it is just over 2% (8605/420567) licensed under those specific licenses.
Thanks for asking such an interesting question. I learned a lot from it!