I can’t speak for pubmed, but Scopus is available to institutions, most commonly via their library service, on a subscription basis. It is also the foundation on which Elsevier build both more advanced reporting services and an expert position enabling them to tender for key strategic projects.