The Dow Jones Industrial Average ended lower for a fourth straight week. Bitcoin, which had been recovering, joined in.