US president has continued to support data centres in advance of midterms, despite growing opposition from Republicans.