I have a different question for you.
What happens if the thru-axle threads and shaft are not greased (or the grease has washed out)?
On a Cube eMTB with a 12mm rear thru axle and a Shimano XT hub, left undisturbed for 3 years between services but ridden quite hard at trail centres: It took nearly an hour (including thinking time) to gently persuade the thru axle out of the hub with a hammer and extension without damaging anything, hampered by the frame, which obviosly wants to stay closed to 142 (or 148 or whatever it was).
On an older Specialized FSR with an older DT 9mm thru axle on the front wheel (svc history unknown): I ended up cutting the hub axle apart, destroying the hub, as there was no way of getting the axle out without damaging the suspension fork. Fortunately the wheel was badly buckled so a replacement was justified!
Both of these were due to corrosion expanding the size of the thru axle (if the coating was scratched) or corrosion on the inside surfaces of the hub expanding to fill the gap, or galvanic welding. All of those problems are preventable with a little care.
Keep those axles greased!