Eight Sleep’s smart beds went haywire during the Amazon cloud outage. It rolled out an offline mode two days later.