Median Indian firm grows post-Covid while foreign investment declines