X-ray is a common inspection method for some electronic assemblies. Often for BGA, LGA and other leadless type parts it is the only way to observe that the joints are correctly(or incorrectly) soldered.
The x-ray at the airport won't do anything to your computer.