Diamond is used in protective windows for space probes as it can keep out harmful radiation.
Diamond is the best material used in transistors that are required to withstand cosmic ray bombardment in case of space or amid extreme heat within a car engine.
Diamond has excellent performance and good durability.
Therefore for the above reasons diamonds are used in space probes.