AI can spot early signs of a tsunami from atmospheric shock waves