Information bottlenecks in minds and machines