Serena Williams supported Nike after its maternity pay controversy, saying the company is ‘learning from mistakes and doing better’