Trustworthy AI in the Era of Foundation Models