Google will dedicate $5 million to help small businesses incorporate artificial intelligence into everyday business operations.