There are ways to recover stripped screws, e.g. by using a bit of rubber band between the screwdriver and the head. There are tons of YouTube videos. But if you can't, you are probably better off drilling it out than destroying the case.
> The much maligned in right-to-repair circles Torx and Apple pentalobe screws
I have no idea why they invented those; hex (Allen) screws are better. I don't have these tools and neither does practically anyone else. Oh, that's why they invented them.