There are a lot of unusual bugs in Thailand. It’s some kind of giant flying beetle. They are really dumb. They fly around and crash into everything. Inevitably they end up upside down on the ground and can not flip around. Then they get eaten by ants or a lizard. I think this one recently landed but it would have been here for hours wiggling its legs around fruitlessly.