Giving away or offering lower cost AI models help keep users in the Google ecosystem, which is very financially lucrative for Google with its ad sales related to its search engine.
It keeps "branding" intact. This is similar to red-bull spending $3 BILLION annually on marketing... it's to keep the brand alive in the minds of folks and "associate" them as kinda the de-facto in given industry.