The European Commission has launched an investigation into Google over the use of web and YouTube content in AI services.