Amtrak officials have applied for $299.7 million in federal grants to replace trouble-prone overhead wiring that powers trains, and has been blamed for delays and service suspensions this summer.