Tech companies have been silently battling a bizarre phenomenon called ‘cosmic rays’ that would otherwise wreak havoc on our electronics