NEW YORK - A U.S. government lawyer opened a civil trial by portraying Apple Inc. as a corporate bully that swaggered into the market for electronic books in 2010, forcing an end to price competition and costing consumers hundreds of millions of dollars.