Every Massachusetts resident will soon have free access to online training courses from Google about artificial intelligence and other technology topics, Gov. Maura Healey announced Thursday.