A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPT