Despite his heartbreak, the famous poet was dedicated to exploring scientific developments—and their dangers.