Johanna Konta suffered a health scare when she collapsed on court in 80 percent humidity during her second-round match at the US Open.