A powerful earthquake struck Myanmar and neighboring Thailand on Friday, destroying buildings, a bridge, and a dam.